include: replace linux/module.h with "struct module" wherever possible
[linux-2.6/next.git] / arch / sh / include / mach-kfr2r09 / mach / kfr2r09.h
blob07e635b0e04cd4adae2c0c8b5da8e198f231be08
1 #ifndef __ASM_SH_KFR2R09_H
2 #define __ASM_SH_KFR2R09_H
4 #include <video/sh_mobile_lcdc.h>
6 #if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)
7 void kfr2r09_lcd_on(void *board_data, struct fb_info *info);
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 void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle,
12 struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
13 #else
14 static void kfr2r09_lcd_on(void *board_data) {}
15 static void kfr2r09_lcd_off(void *board_data) {}
16 static int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle,
17 struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
19 return -ENODEV;
21 static void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle,
22 struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
25 #endif
27 #endif /* __ASM_SH_KFR2R09_H */