video: rk32_mipi_dsi: fix compilation warning
authorHuang, Tao <huangtao@rock-chips.com>
Mon, 4 May 2015 10:17:27 +0000 (18:17 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 4 May 2015 10:17:27 +0000 (18:17 +0800)
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
drivers/video/rockchip/transmitter/rk32_mipi_dsi.c

index 97881a112f7e09dcf0637257cb7bad184ef84c67..64e6fd43826306af022a953f6f8689c0b64bbbae 100755 (executable)
@@ -1314,7 +1314,7 @@ static int rk_mipi_dsi_probe(struct dsi *dsi)
 #include <asm/uaccess.h>
 #include <linux/slab.h>
 
-int reg_proc_write(struct file *file, const char __user *buff, size_t count, loff_t *offp)
+ssize_t reg_proc_write(struct file *file, const char __user *buff, size_t count, loff_t *offp)
 {
        int ret = -1, i = 0;
        u32 read_val = 0;
@@ -1443,7 +1443,7 @@ struct file_operations reg_proc_fops = {
        .read = seq_read,
 };
 
-int reg_proc_write1(struct file *file, const char __user *buff, size_t count, loff_t *offp)
+ssize_t reg_proc_write1(struct file *file, const char __user *buff, size_t count, loff_t *offp)
 {
        int ret = -1, i = 0;
        u32 read_val = 0;