Path: blob/master/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h
15163 views
#ifndef __ASM_SH_KFR2R09_H1#define __ASM_SH_KFR2R09_H23#include <video/sh_mobile_lcdc.h>45#if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)6void kfr2r09_lcd_on(void *board_data, struct fb_info *info);7void kfr2r09_lcd_off(void *board_data);8int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle,9struct sh_mobile_lcdc_sys_bus_ops *sys_ops);10void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle,11struct sh_mobile_lcdc_sys_bus_ops *sys_ops);12#else13static void kfr2r09_lcd_on(void *board_data) {}14static void kfr2r09_lcd_off(void *board_data) {}15static int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle,16struct sh_mobile_lcdc_sys_bus_ops *sys_ops)17{18return -ENODEV;19}20static void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle,21struct sh_mobile_lcdc_sys_bus_ops *sys_ops)22{23}24#endif2526#endif /* __ASM_SH_KFR2R09_H */272829