1*9f26e659SMagnus Damm #ifndef __ASM_SH_KFR2R09_H 2*9f26e659SMagnus Damm #define __ASM_SH_KFR2R09_H 3*9f26e659SMagnus Damm 4*9f26e659SMagnus Damm #include <video/sh_mobile_lcdc.h> 5*9f26e659SMagnus Damm 6*9f26e659SMagnus Damm #ifdef CONFIG_FB_SH_MOBILE_LCDC 7*9f26e659SMagnus Damm void kfr2r09_lcd_on(void *board_data); 8*9f26e659SMagnus Damm void kfr2r09_lcd_off(void *board_data); 9*9f26e659SMagnus Damm int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle, 10*9f26e659SMagnus Damm struct sh_mobile_lcdc_sys_bus_ops *sys_ops); 11*9f26e659SMagnus Damm #else 12*9f26e659SMagnus Damm static inline void kfr2r09_lcd_on(void *board_data) {} 13*9f26e659SMagnus Damm static inline void kfr2r09_lcd_off(void *board_data) {} 14*9f26e659SMagnus Damm static inline int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle, 15*9f26e659SMagnus Damm struct sh_mobile_lcdc_sys_bus_ops *sys_ops) 16*9f26e659SMagnus Damm { 17*9f26e659SMagnus Damm return -ENODEV; 18*9f26e659SMagnus Damm } 19*9f26e659SMagnus Damm #endif 20*9f26e659SMagnus Damm 21*9f26e659SMagnus Damm #endif /* __ASM_SH_KFR2R09_H */ 22