19f26e659SMagnus Damm #ifndef __ASM_SH_KFR2R09_H 29f26e659SMagnus Damm #define __ASM_SH_KFR2R09_H 39f26e659SMagnus Damm 49f26e659SMagnus Damm #include <video/sh_mobile_lcdc.h> 59f26e659SMagnus Damm 69f26e659SMagnus Damm #ifdef CONFIG_FB_SH_MOBILE_LCDC 79f26e659SMagnus Damm void kfr2r09_lcd_on(void *board_data); 89f26e659SMagnus Damm void kfr2r09_lcd_off(void *board_data); 99f26e659SMagnus Damm int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle, 109f26e659SMagnus Damm struct sh_mobile_lcdc_sys_bus_ops *sys_ops); 11*657bf0bdSMagnus Damm void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle, 12*657bf0bdSMagnus Damm struct sh_mobile_lcdc_sys_bus_ops *sys_ops); 139f26e659SMagnus Damm #else 149f26e659SMagnus Damm static inline void kfr2r09_lcd_on(void *board_data) {} 159f26e659SMagnus Damm static inline void kfr2r09_lcd_off(void *board_data) {} 169f26e659SMagnus Damm static inline int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle, 179f26e659SMagnus Damm struct sh_mobile_lcdc_sys_bus_ops *sys_ops) 189f26e659SMagnus Damm { 199f26e659SMagnus Damm return -ENODEV; 209f26e659SMagnus Damm } 21*657bf0bdSMagnus Damm static inline void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle, 22*657bf0bdSMagnus Damm struct sh_mobile_lcdc_sys_bus_ops *sys_ops) 23*657bf0bdSMagnus Damm { 24*657bf0bdSMagnus Damm } 259f26e659SMagnus Damm #endif 269f26e659SMagnus Damm 279f26e659SMagnus Damm #endif /* __ASM_SH_KFR2R09_H */ 28