mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
video: rk32_mipi_dsi: fix compilation warning
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user