Skip to content

Commit

Permalink
ARM: sa1100: include linux/io.h in hackkit leds code
Browse files Browse the repository at this point in the history
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]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>
  • Loading branch information
Arnd Bergmann committed Aug 9, 2012
1 parent 4eef6cb commit 9c97738
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-sa1100/leds-hackkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* as cpu led, the green one is used as timer led.
*/
#include <linux/init.h>
#include <linux/io.h>

#include <mach/hardware.h>
#include <asm/leds.h>
Expand Down

0 comments on commit 9c97738

Please sign in to comment.