summaryrefslogtreecommitdiff
path: root/drivers/video/wmt/com-cec.h
diff options
context:
space:
mode:
authorSrikant Patnaik2015-01-11 20:10:08 +0530
committerSrikant Patnaik2015-01-11 21:00:00 +0530
commit63058268f9ab1c96396d3d138aefc3f7b0f72869 (patch)
tree38b41e86beb0dd25e622e0ef15d62c7a6a2c64bc /drivers/video/wmt/com-cec.h
parentddd6804ba90290b66ebff05b99752fcdd75fec45 (diff)
downloadFOSSEE-netbook-kernel-source-63058268f9ab1c96396d3d138aefc3f7b0f72869.tar.gz
FOSSEE-netbook-kernel-source-63058268f9ab1c96396d3d138aefc3f7b0f72869.tar.bz2
FOSSEE-netbook-kernel-source-63058268f9ab1c96396d3d138aefc3f7b0f72869.zip
Fix white screen issue during bootup
Signed-off-by: Manish Patel <manish.patel@xzadium.com>
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