diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-18 23:46:28 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-19 17:26:27 +0000 |
commit | 5f76559a7736d049705400b5546d524485d5ed0d (patch) | |
tree | ab26f6ac1e230a2b6ee160bc299e3dba3c4f427f /arch/arm/include/asm/locks.h | |
parent | 57270fcdc7925def3c80d75344467dff2bec8025 (diff) |
ARM: sa11x0: fix collie build error
f408c985cefc (GPIO: sa1100: implement proper gpiolib gpio_to_irq conversion)
made gpio_to_irq() a function. This breaks collie where it's used to
initialize some static data. Fix that by moving the initialization to
the init code.
arch/arm/mach-sa1100/collie.c:139: error: initializer element is not constant
arch/arm/mach-sa1100/collie.c:139: error: (near initialization for 'collie_power_resource[0].start')
arch/arm/mach-sa1100/collie.c:140: error: initializer element is not constant
arch/arm/mach-sa1100/collie.c:140: error: (near initialization for 'collie_power_resource[0].end')
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/locks.h')
0 files changed, 0 insertions, 0 deletions