diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-03-28 10:53:42 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-27 02:26:19 -0400 |
commit | 8af2c2869fd129bce0d0dfd86c6364c1096f9eff (patch) | |
tree | dd04bfc8f8be291b947fb37e8c19dc3e30bf72a5 /arch/avr32/mach-at32ap/include | |
parent | 090fd59308c9d50b8eabf71cd28b5513250a7b79 (diff) |
video: atmel_lcdfb: fix platform data struct
Today we mix pdata and drivers data in the struct atmel_lcdfb_info
Fix it and introduce a new struct atmel_lcdfb_pdata for platform data only
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/include')
-rw-r--r-- | arch/avr32/mach-at32ap/include/mach/board.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/mach-at32ap/include/mach/board.h b/arch/avr32/mach-at32ap/include/mach/board.h index d485b0391357..f1a316d52c73 100644 --- a/arch/avr32/mach-at32ap/include/mach/board.h +++ b/arch/avr32/mach-at32ap/include/mach/board.h | |||
@@ -44,9 +44,9 @@ struct platform_device * | |||
44 | at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n); | 44 | at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n); |
45 | void at32_spi_setup_slaves(unsigned int bus_num, struct spi_board_info *b, unsigned int n); | 45 | void at32_spi_setup_slaves(unsigned int bus_num, struct spi_board_info *b, unsigned int n); |
46 | 46 | ||
47 | struct atmel_lcdfb_info; | 47 | struct atmel_lcdfb_pdata; |
48 | struct platform_device * | 48 | struct platform_device * |
49 | at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data, | 49 | at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_pdata *data, |
50 | unsigned long fbmem_start, unsigned long fbmem_len, | 50 | unsigned long fbmem_start, unsigned long fbmem_len, |
51 | u64 pin_mask); | 51 | u64 pin_mask); |
52 | 52 | ||