diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-03-25 18:55:54 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-03-25 18:55:54 -0400 |
commit | 18bbff9f679cd470db66402fdb9c577b34324183 (patch) | |
tree | f8e90adadfde630368034268de8cc5763898ab37 /arch/arm/mach-sa1100/generic.c | |
parent | e7d863d0f42e2cf19a13c867bfcab7424388bff8 (diff) | |
parent | 7cb66dcc828662c8cacb74af08478433cef102b1 (diff) |
Merge branch 'sa11x0-lcd' into sa11x0
Conflicts:
arch/arm/mach-sa1100/assabet.c
Diffstat (limited to 'arch/arm/mach-sa1100/generic.c')
-rw-r--r-- | arch/arm/mach-sa1100/generic.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c index 01a20ea35b53..0296d69622ac 100644 --- a/arch/arm/mach-sa1100/generic.c +++ b/arch/arm/mach-sa1100/generic.c | |||
@@ -20,6 +20,8 @@ | |||
20 | #include <linux/ioport.h> | 20 | #include <linux/ioport.h> |
21 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
22 | 22 | ||
23 | #include <video/sa1100fb.h> | ||
24 | |||
23 | #include <asm/div64.h> | 25 | #include <asm/div64.h> |
24 | #include <mach/hardware.h> | 26 | #include <mach/hardware.h> |
25 | #include <asm/system.h> | 27 | #include <asm/system.h> |
@@ -247,6 +249,11 @@ static struct platform_device sa11x0fb_device = { | |||
247 | .resource = sa11x0fb_resources, | 249 | .resource = sa11x0fb_resources, |
248 | }; | 250 | }; |
249 | 251 | ||
252 | void sa11x0_register_lcd(struct sa1100fb_mach_info *inf) | ||
253 | { | ||
254 | sa11x0_register_device(&sa11x0fb_device, inf); | ||
255 | } | ||
256 | |||
250 | static struct platform_device sa11x0pcmcia_device = { | 257 | static struct platform_device sa11x0pcmcia_device = { |
251 | .name = "sa11x0-pcmcia", | 258 | .name = "sa11x0-pcmcia", |
252 | .id = -1, | 259 | .id = -1, |
@@ -319,7 +326,6 @@ static struct platform_device *sa11x0_devices[] __initdata = { | |||
319 | &sa11x0uart3_device, | 326 | &sa11x0uart3_device, |
320 | &sa11x0ssp_device, | 327 | &sa11x0ssp_device, |
321 | &sa11x0pcmcia_device, | 328 | &sa11x0pcmcia_device, |
322 | &sa11x0fb_device, | ||
323 | &sa11x0rtc_device, | 329 | &sa11x0rtc_device, |
324 | &sa11x0dma_device, | 330 | &sa11x0dma_device, |
325 | }; | 331 | }; |
@@ -332,12 +338,6 @@ static int __init sa1100_init(void) | |||
332 | 338 | ||
333 | arch_initcall(sa1100_init); | 339 | arch_initcall(sa1100_init); |
334 | 340 | ||
335 | void (*sa1100fb_backlight_power)(int on); | ||
336 | void (*sa1100fb_lcd_power)(int on); | ||
337 | |||
338 | EXPORT_SYMBOL(sa1100fb_backlight_power); | ||
339 | EXPORT_SYMBOL(sa1100fb_lcd_power); | ||
340 | |||
341 | 341 | ||
342 | /* | 342 | /* |
343 | * Common I/O mapping: | 343 | * Common I/O mapping: |