0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _HDMI4_CEC_H_
0009 #define _HDMI4_CEC_H_
0010
0011 struct hdmi_core_data;
0012 struct hdmi_wp_data;
0013 struct platform_device;
0014
0015
0016 #ifdef CONFIG_OMAP4_DSS_HDMI_CEC
0017 void hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa);
0018 void hdmi4_cec_irq(struct hdmi_core_data *core);
0019 int hdmi4_cec_init(struct platform_device *pdev, struct hdmi_core_data *core,
0020 struct hdmi_wp_data *wp);
0021 void hdmi4_cec_uninit(struct hdmi_core_data *core);
0022 #else
0023 static inline void hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa)
0024 {
0025 }
0026
0027 static inline void hdmi4_cec_irq(struct hdmi_core_data *core)
0028 {
0029 }
0030
0031 static inline int hdmi4_cec_init(struct platform_device *pdev,
0032 struct hdmi_core_data *core,
0033 struct hdmi_wp_data *wp)
0034 {
0035 return 0;
0036 }
0037
0038 static inline void hdmi4_cec_uninit(struct hdmi_core_data *core)
0039 {
0040 }
0041 #endif
0042
0043 #endif