blob: 79f154e5cb9c93f88d6ddb839b95dc0b2c04011e [file] [log] [blame]
Magnus Damm9f26e652009-08-06 14:51:30 +00001#ifndef __ASM_SH_KFR2R09_H
2#define __ASM_SH_KFR2R09_H
3
4#include <video/sh_mobile_lcdc.h>
5
Guennadi Liakhovetskic2439392010-07-21 10:13:17 +00006#if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)
Laurent Pinchart018882a2011-09-11 22:59:04 +02007int kfr2r09_lcd_setup(void *sys_ops_handle,
Magnus Damm9f26e652009-08-06 14:51:30 +00008 struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
Laurent Pinchart018882a2011-09-11 22:59:04 +02009void kfr2r09_lcd_start(void *sys_ops_handle,
Magnus Damm657bf0b2009-12-07 14:26:05 +000010 struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
Magnus Damm9f26e652009-08-06 14:51:30 +000011#else
Laurent Pinchart018882a2011-09-11 22:59:04 +020012static int kfr2r09_lcd_setup(void *sys_ops_handle,
Guennadi Liakhovetskic2439392010-07-21 10:13:17 +000013 struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
Magnus Damm9f26e652009-08-06 14:51:30 +000014{
15 return -ENODEV;
16}
Laurent Pinchart018882a2011-09-11 22:59:04 +020017static void kfr2r09_lcd_start(void *sys_ops_handle,
Guennadi Liakhovetskic2439392010-07-21 10:13:17 +000018 struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
Magnus Damm657bf0b2009-12-07 14:26:05 +000019{
20}
Magnus Damm9f26e652009-08-06 14:51:30 +000021#endif
22
23#endif /* __ASM_SH_KFR2R09_H */