video: rk32_mipi_dsi: fix compilation warning

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
Huang, Tao
2015-05-04 18:17:27 +08:00
parent 65d9fc5034
commit 70c7ca2642

View File

@@ -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;