diff options
Diffstat (limited to 'arch/sh/boards/board-ap325rxa.c')
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index b9c88cc519e2..327d47c25a57 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c | |||
@@ -188,7 +188,7 @@ static struct sh_mobile_lcdc_info lcdc_info = { | |||
188 | .name = "LB070WV1", | 188 | .name = "LB070WV1", |
189 | .xres = 800, | 189 | .xres = 800, |
190 | .yres = 480, | 190 | .yres = 480, |
191 | .left_margin = 40, | 191 | .left_margin = 32, |
192 | .right_margin = 160, | 192 | .right_margin = 160, |
193 | .hsync_len = 8, | 193 | .hsync_len = 8, |
194 | .upper_margin = 63, | 194 | .upper_margin = 63, |
@@ -211,7 +211,7 @@ static struct resource lcdc_resources[] = { | |||
211 | [0] = { | 211 | [0] = { |
212 | .name = "LCDC", | 212 | .name = "LCDC", |
213 | .start = 0xfe940000, /* P4-only space */ | 213 | .start = 0xfe940000, /* P4-only space */ |
214 | .end = 0xfe941fff, | 214 | .end = 0xfe942fff, |
215 | .flags = IORESOURCE_MEM, | 215 | .flags = IORESOURCE_MEM, |
216 | }, | 216 | }, |
217 | [1] = { | 217 | [1] = { |
@@ -227,6 +227,9 @@ static struct platform_device lcdc_device = { | |||
227 | .dev = { | 227 | .dev = { |
228 | .platform_data = &lcdc_info, | 228 | .platform_data = &lcdc_info, |
229 | }, | 229 | }, |
230 | .archdata = { | ||
231 | .hwblk_id = HWBLK_LCDC, | ||
232 | }, | ||
230 | }; | 233 | }; |
231 | 234 | ||
232 | static void camera_power(int val) | 235 | static void camera_power(int val) |
@@ -377,6 +380,9 @@ static struct platform_device ceu_device = { | |||
377 | .dev = { | 380 | .dev = { |
378 | .platform_data = &sh_mobile_ceu_info, | 381 | .platform_data = &sh_mobile_ceu_info, |
379 | }, | 382 | }, |
383 | .archdata = { | ||
384 | .hwblk_id = HWBLK_CEU, | ||
385 | }, | ||
380 | }; | 386 | }; |
381 | 387 | ||
382 | struct spi_gpio_platform_data sdcard_cn3_platform_data = { | 388 | struct spi_gpio_platform_data sdcard_cn3_platform_data = { |