Magnus Damm | 9f26e65 | 2009-08-06 14:51:30 +0000 | [diff] [blame] | 1 | #ifndef __ASM_SH_KFR2R09_H |
| 2 | #define __ASM_SH_KFR2R09_H |
| 3 | |
| 4 | #include <video/sh_mobile_lcdc.h> |
| 5 | |
Guennadi Liakhovetski | c243939 | 2010-07-21 10:13:17 +0000 | [diff] [blame] | 6 | #if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE) |
Laurent Pinchart | 018882a | 2011-09-11 22:59:04 +0200 | [diff] [blame] | 7 | int kfr2r09_lcd_setup(void *sys_ops_handle, |
Magnus Damm | 9f26e65 | 2009-08-06 14:51:30 +0000 | [diff] [blame] | 8 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops); |
Laurent Pinchart | 018882a | 2011-09-11 22:59:04 +0200 | [diff] [blame] | 9 | void kfr2r09_lcd_start(void *sys_ops_handle, |
Magnus Damm | 657bf0b | 2009-12-07 14:26:05 +0000 | [diff] [blame] | 10 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops); |
Magnus Damm | 9f26e65 | 2009-08-06 14:51:30 +0000 | [diff] [blame] | 11 | #else |
Laurent Pinchart | 018882a | 2011-09-11 22:59:04 +0200 | [diff] [blame] | 12 | static int kfr2r09_lcd_setup(void *sys_ops_handle, |
Guennadi Liakhovetski | c243939 | 2010-07-21 10:13:17 +0000 | [diff] [blame] | 13 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops) |
Magnus Damm | 9f26e65 | 2009-08-06 14:51:30 +0000 | [diff] [blame] | 14 | { |
| 15 | return -ENODEV; |
| 16 | } |
Laurent Pinchart | 018882a | 2011-09-11 22:59:04 +0200 | [diff] [blame] | 17 | static void kfr2r09_lcd_start(void *sys_ops_handle, |
Guennadi Liakhovetski | c243939 | 2010-07-21 10:13:17 +0000 | [diff] [blame] | 18 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops) |
Magnus Damm | 657bf0b | 2009-12-07 14:26:05 +0000 | [diff] [blame] | 19 | { |
| 20 | } |
Magnus Damm | 9f26e65 | 2009-08-06 14:51:30 +0000 | [diff] [blame] | 21 | #endif |
| 22 | |
| 23 | #endif /* __ASM_SH_KFR2R09_H */ |