diff options
Diffstat (limited to 'arch/sh/include/mach-kfr2r09/mach/kfr2r09.h')
-rw-r--r-- | arch/sh/include/mach-kfr2r09/mach/kfr2r09.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h b/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h new file mode 100644 index 000000000000..174374e19547 --- /dev/null +++ b/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef __ASM_SH_KFR2R09_H | ||
2 | #define __ASM_SH_KFR2R09_H | ||
3 | |||
4 | #include <video/sh_mobile_lcdc.h> | ||
5 | |||
6 | #ifdef CONFIG_FB_SH_MOBILE_LCDC | ||
7 | void kfr2r09_lcd_on(void *board_data); | ||
8 | void kfr2r09_lcd_off(void *board_data); | ||
9 | int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle, | ||
10 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops); | ||
11 | #else | ||
12 | static inline void kfr2r09_lcd_on(void *board_data) {} | ||
13 | static inline void kfr2r09_lcd_off(void *board_data) {} | ||
14 | static inline int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle, | ||
15 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops) | ||
16 | { | ||
17 | return -ENODEV; | ||
18 | } | ||
19 | #endif | ||
20 | |||
21 | #endif /* __ASM_SH_KFR2R09_H */ | ||