aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/spitz.c
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-10-14 11:07:25 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-14 11:07:25 -0400
commitcb38c569e5ecf9e922e66963b6da2751b4f13d81 (patch)
treede0c6c57b91fd2f6c1458f95e7022fbec9435d41 /arch/arm/mach-pxa/spitz.c
parentcb90d681ae439e525de9de519508ac9041342321 (diff)
[ARM] 3011/1: pxafb: Add ability to set device parent + fix spitz compile error
Patch from Richard Purdie Add a function to allow machines to set the parent of the pxa framebuffer device. This means the power up/down sequence can be controlled where required by the machine. Update spitz to use the new function, fixing a compile error. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/spitz.c')
-rw-r--r--arch/arm/mach-pxa/spitz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index 568afe3d6e1a..7eaeb24aae1e 100644
--- a/arch/arm/mach-pxa/spitz.c
+++ b/arch/arm/mach-pxa/spitz.c
@@ -328,7 +328,7 @@ static void __init common_init(void)
328 328
329 platform_add_devices(devices, ARRAY_SIZE(devices)); 329 platform_add_devices(devices, ARRAY_SIZE(devices));
330 pxa_set_mci_info(&spitz_mci_platform_data); 330 pxa_set_mci_info(&spitz_mci_platform_data);
331 pxafb_device.dev.parent = &spitzssp_device.dev; 331 set_pxa_fb_parent(&spitzssp_device.dev);
332 set_pxa_fb_info(&spitz_pxafb_info); 332 set_pxa_fb_info(&spitz_pxafb_info);
333} 333}
334 334