diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-03-21 18:08:49 +0100 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-05-15 14:13:27 +0200 |
commit | d0a2b7af27f6d01a443f3af8252fa0b955bf1913 (patch) | |
tree | 2240f60b5e4f5cd4abec83812048962b4b959b88 /include | |
parent | 78c129b949bdee21dd996ac5f5cfc655cd5bd42e (diff) | |
download | op-kernel-dev-d0a2b7af27f6d01a443f3af8252fa0b955bf1913.zip op-kernel-dev-d0a2b7af27f6d01a443f3af8252fa0b955bf1913.tar.gz |
[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 1a7b07d..9fd2e32 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; struct platform_device * at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n); -struct lcdc_platform_data { - unsigned long fbmem_start; - unsigned long fbmem_size; -}; +struct atmel_lcdfb_info; struct platform_device * -at32_add_device_lcdc(unsigned int id, struct lcdc_platform_data *data); +at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data, + unsigned long fbmem_start, unsigned long fbmem_len); #endif /* __ASM_ARCH_BOARD_H */ |