summaryrefslogtreecommitdiff
path: root/drivers/video/wmt/com-cec.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/wmt/com-cec.h')
-rw-r--r--[-rwxr-xr-x]drivers/video/wmt/com-cec.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/video/wmt/com-cec.h b/drivers/video/wmt/com-cec.h
index 8020aec5..80f1ce16 100755..100644
--- a/drivers/video/wmt/com-cec.h
+++ b/drivers/video/wmt/com-cec.h
@@ -42,16 +42,14 @@ extern "C" {
#define MAX_MSG_BYTE 16
#define MSG_ABORT 0xff
-struct wmt_cec_msg {
+typedef struct wmt_cec_msg {
char msglen;
char msgdata[MAX_MSG_BYTE];
-};
-#define wmt_cec_msg_t struct wmt_cec_msg
+} wmt_cec_msg_t;
-struct wmt_phy_addr {
+typedef struct wmt_phy_addr {
unsigned int phy_addr;
-};
-#define wmt_phy_addr_t struct wmt_phy_addr
+} wmt_phy_addr_t;
#define WMT_CEC_IOC_MAGIC 'c'
#define WMT_CEC_IOC_MAXNR 3