diff options
| author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-03-21 13:08:49 -0400 |
|---|---|---|
| committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-05-15 08:13:27 -0400 |
| commit | d0a2b7af27f6d01a443f3af8252fa0b955bf1913 (patch) | |
| tree | 2240f60b5e4f5cd4abec83812048962b4b959b88 /include | |
| parent | 78c129b949bdee21dd996ac5f5cfc655cd5bd42e (diff) | |
[AVR32] Implement platform hooks for atmel_lcdfb driver
This modifies and extends the existing lcdc platform code to support
the new atmel_lcdfb driver. The ATSTK1000 board code is set up to use
the on-board Samsung LTV350QV LCD panel.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-avr32/arch-at32ap/board.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/asm-avr32/arch-at32ap/board.h b/include/asm-avr32/arch-at32ap/board.h index 1a7b07d436ff..9fd2e32f84b8 100644 --- a/include/asm-avr32/arch-at32ap/board.h +++ b/include/asm-avr32/arch-at32ap/board.h | |||
| @@ -30,11 +30,9 @@ struct spi_board_info; | |||
| 30 | struct platform_device * | 30 | struct platform_device * |
| 31 | at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n); | 31 | at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n); |
| 32 | 32 | ||
| 33 | struct lcdc_platform_data { | 33 | struct atmel_lcdfb_info; |
| 34 | unsigned long fbmem_start; | ||
| 35 | unsigned long fbmem_size; | ||
| 36 | }; | ||
| 37 | struct platform_device * | 34 | struct platform_device * |
| 38 | at32_add_device_lcdc(unsigned int id, struct lcdc_platform_data *data); | 35 | at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data, |
| 36 | unsigned long fbmem_start, unsigned long fbmem_len); | ||
| 39 | 37 | ||
| 40 | #endif /* __ASM_ARCH_BOARD_H */ | 38 | #endif /* __ASM_ARCH_BOARD_H */ |
