-#ifndef __cat66121_HDMI_H__\r
-#define __cat66121_HDMI_H__\r
-#include "../../rk_hdmi.h"\r
-\r
-#define HDMI_SOURCE_DEFAULT HDMI_SOURCE_LCDC0\r
-//#define HDMI_USE_IRQ\r
-\r
-struct cat66121_hdmi_pdata {\r
- int gpio;\r
- struct i2c_client *client;\r
- struct delayed_work delay_work;\r
- #ifdef HDMI_USE_IRQ\r
- struct work_struct irq_work;\r
- #else\r
- struct workqueue_struct *workqueue;\r
- #endif\r
-};\r
-\r
-extern struct cat66121_hdmi_pdata *cat66121_hdmi;\r
-\r
-extern int cat66121_hdmi_sys_init(void);\r
-extern void cat66121_hdmi_interrupt(void);\r
-extern int cat66121_hdmi_sys_detect_hpd(void);\r
-extern int cat66121_hdmi_sys_insert(void);\r
-extern int cat66121_hdmi_sys_remove(void);\r
-extern int cat66121_hdmi_sys_read_edid(int block, unsigned char *buff);\r
-extern int cat66121_hdmi_sys_config_video(struct hdmi_video_para *vpara);\r
-extern int cat66121_hdmi_sys_config_audio(struct hdmi_audio *audio);\r
-extern void cat66121_hdmi_sys_enalbe_output(int enable);\r
-extern int cat66121_hdmi_register_hdcp_callbacks(void (*hdcp_cb)(void),\r
- void (*hdcp_irq_cb)(int status),\r
- int (*hdcp_power_on_cb)(void),\r
- void (*hdcp_power_off_cb)(void));\r
-#endif\r
+#ifndef __cat66121_HDMI_H__
+#define __cat66121_HDMI_H__
+#include "../../rk_hdmi.h"
+
+#define HDMI_SOURCE_DEFAULT HDMI_SOURCE_LCDC0
+//#define HDMI_USE_IRQ
+
+struct cat66121_hdmi_pdata {
+ int gpio;
+ struct i2c_client *client;
+ struct delayed_work delay_work;
+ #ifdef HDMI_USE_IRQ
+ struct work_struct irq_work;
+ #else
+ struct workqueue_struct *workqueue;
+ #endif
+};
+
+extern struct cat66121_hdmi_pdata *cat66121_hdmi;
+
+extern int cat66121_hdmi_sys_init(void);
+extern void cat66121_hdmi_interrupt(void);
+extern int cat66121_hdmi_sys_detect_hpd(void);
+extern int cat66121_hdmi_sys_insert(void);
+extern int cat66121_hdmi_sys_remove(void);
+extern int cat66121_hdmi_sys_read_edid(int block, unsigned char *buff);
+extern int cat66121_hdmi_sys_config_video(struct hdmi_video_para *vpara);
+extern int cat66121_hdmi_sys_config_audio(struct hdmi_audio *audio);
+extern void cat66121_hdmi_sys_enalbe_output(int enable);
+extern int cat66121_hdmi_register_hdcp_callbacks(void (*hdcp_cb)(void),
+ void (*hdcp_irq_cb)(int status),
+ int (*hdcp_power_on_cb)(void),
+ void (*hdcp_power_off_cb)(void));
+#endif