aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-sa1100/generic.c')
-rw-r--r--arch/arm/mach-sa1100/generic.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c
index bb10ee2cb89f..f57808fb1827 100644
--- a/arch/arm/mach-sa1100/generic.c
+++ b/arch/arm/mach-sa1100/generic.c
@@ -19,6 +19,8 @@
19#include <linux/ioport.h> 19#include <linux/ioport.h>
20#include <linux/platform_device.h> 20#include <linux/platform_device.h>
21 21
22#include <video/sa1100fb.h>
23
22#include <asm/div64.h> 24#include <asm/div64.h>
23#include <mach/hardware.h> 25#include <mach/hardware.h>
24#include <asm/system.h> 26#include <asm/system.h>
@@ -294,6 +296,11 @@ static struct platform_device sa11x0fb_device = {
294 .resource = sa11x0fb_resources, 296 .resource = sa11x0fb_resources,
295}; 297};
296 298
299void sa11x0_register_lcd(struct sa1100fb_mach_info *inf)
300{
301 sa11x0_register_device(&sa11x0fb_device, inf);
302}
303
297static struct platform_device sa11x0pcmcia_device = { 304static struct platform_device sa11x0pcmcia_device = {
298 .name = "sa11x0-pcmcia", 305 .name = "sa11x0-pcmcia",
299 .id = -1, 306 .id = -1,
@@ -356,7 +363,6 @@ static struct platform_device *sa11x0_devices[] __initdata = {
356 &sa11x0uart3_device, 363 &sa11x0uart3_device,
357 &sa11x0ssp_device, 364 &sa11x0ssp_device,
358 &sa11x0pcmcia_device, 365 &sa11x0pcmcia_device,
359 &sa11x0fb_device,
360 &sa11x0rtc_device, 366 &sa11x0rtc_device,
361}; 367};
362 368