diff options
Diffstat (limited to 'arch/avr32/mach-at32ap/at32ap700x.c')
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap700x.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index a68f3cf7c3c1..a1f4d1e91b52 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c | |||
@@ -1439,7 +1439,7 @@ fail: | |||
1439 | * LCDC | 1439 | * LCDC |
1440 | * -------------------------------------------------------------------- */ | 1440 | * -------------------------------------------------------------------- */ |
1441 | #if defined(CONFIG_CPU_AT32AP7000) || defined(CONFIG_CPU_AT32AP7002) | 1441 | #if defined(CONFIG_CPU_AT32AP7000) || defined(CONFIG_CPU_AT32AP7002) |
1442 | static struct atmel_lcdfb_info atmel_lcdfb0_data; | 1442 | static struct atmel_lcdfb_pdata atmel_lcdfb0_data; |
1443 | static struct resource atmel_lcdfb0_resource[] = { | 1443 | static struct resource atmel_lcdfb0_resource[] = { |
1444 | { | 1444 | { |
1445 | .start = 0xff000000, | 1445 | .start = 0xff000000, |
@@ -1467,12 +1467,12 @@ static struct clk atmel_lcdfb0_pixclk = { | |||
1467 | }; | 1467 | }; |
1468 | 1468 | ||
1469 | struct platform_device *__init | 1469 | struct platform_device *__init |
1470 | at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data, | 1470 | at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_pdata *data, |
1471 | unsigned long fbmem_start, unsigned long fbmem_len, | 1471 | unsigned long fbmem_start, unsigned long fbmem_len, |
1472 | u64 pin_mask) | 1472 | u64 pin_mask) |
1473 | { | 1473 | { |
1474 | struct platform_device *pdev; | 1474 | struct platform_device *pdev; |
1475 | struct atmel_lcdfb_info *info; | 1475 | struct atmel_lcdfb_pdata *info; |
1476 | struct fb_monspecs *monspecs; | 1476 | struct fb_monspecs *monspecs; |
1477 | struct fb_videomode *modedb; | 1477 | struct fb_videomode *modedb; |
1478 | unsigned int modedb_size; | 1478 | unsigned int modedb_size; |
@@ -1529,7 +1529,7 @@ at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data, | |||
1529 | } | 1529 | } |
1530 | 1530 | ||
1531 | info = pdev->dev.platform_data; | 1531 | info = pdev->dev.platform_data; |
1532 | memcpy(info, data, sizeof(struct atmel_lcdfb_info)); | 1532 | memcpy(info, data, sizeof(struct atmel_lcdfb_pdata)); |
1533 | info->default_monspecs = monspecs; | 1533 | info->default_monspecs = monspecs; |
1534 | 1534 | ||
1535 | pdev->name = "at32ap-lcdfb"; | 1535 | pdev->name = "at32ap-lcdfb"; |