diff options
author | Russell King | 2012-01-14 12:03:22 +0000 |
---|---|---|
committer | Russell King | 2012-02-21 11:56:19 +0000 |
commit | 086ada54abaa4316e8603f02410fe8ebc9ba2de1 (patch) | |
tree | 0cbcbc821d15d037cb5ad6ab74d9546ceec624b1 /arch/arm/mach-sa1100/h3100.c | |
parent | e1b7a72aeb8292502c97b43eceb01aea47ded40f (diff) |
FB: sa1100: remove global sa1100fb_.*_power function pointers
Now that we have platform data contained within the individual board
code, we can get rid of the global function pointers, placing them
inside the platform data instead.
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/h3100.c')
-rw-r--r-- | arch/arm/mach-sa1100/h3100.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/h3100.c b/arch/arm/mach-sa1100/h3100.c index 1f8a271dc668..f23e7d0b2fba 100644 --- a/arch/arm/mach-sa1100/h3100.c +++ b/arch/arm/mach-sa1100/h3100.c @@ -52,6 +52,8 @@ static struct sa1100fb_mach_info h3100_lcd_info = { .lccr0 = LCCR0_Mono | LCCR0_4PixMono | LCCR0_Sngl | LCCR0_Pas, .lccr3 = LCCR3_OutEnH | LCCR3_PixRsEdg | LCCR3_ACBsDiv(2), + + .lcd_power = h3100_lcd_power, }; static void __init h3100_map_io(void) @@ -96,7 +98,6 @@ static void __init h3100_mach_init(void) h3xxx_init_gpio(h3100_default_gpio, ARRAY_SIZE(h3100_default_gpio)); h3xxx_mach_init(); - sa1100fb_lcd_power = h3100_lcd_power; sa11x0_register_lcd(&h3100_lcd_info); sa11x0_register_irda(&h3100_irda_data); } |