# \[PATCH 3/6\] ARM: sa1100: include asm/io.h in hackkit leds code

- From: Russell King - ARM Linux \<hidden\>
- Date: 2012-08-08 15:37:13 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2012/08/3905428
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/08/3905318/t.md

```text
On Wed, Aug 08, 2012 at 02:54:50PM +0200, Arnd Bergmann wrote:
> The sa1100 definition of the io_p2v macro has changed in v3.6, and this one
> file stopped working because of that.
> 
> Without this patch, building hackkit_defconfig results in:
> 
> arch/arm/mach-sa1100/leds-hackkit.c: In function 'hackkit_leds_event':
> arch/arm/mach-sa1100/leds-hackkit.c:39:4: error: implicit declaration of function 'IOMEM' [-Werror=implicit-function-declaration]

NAK.  Should be linux/io.h
```
