aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/regmap')
-rw-r--r--drivers/base/regmap/regmap-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-debugfs.c b/drivers/base/regmap/regmap-debugfs.c
index 184b618e318e..6e304a4e2706 100644
--- a/drivers/base/regmap/regmap-debugfs.c
+++ b/drivers/base/regmap/regmap-debugfs.c
@@ -29,7 +29,7 @@ static int regmap_map_open_file(struct inode *inode, struct file *file)
29static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, 29static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf,
30 size_t count, loff_t *ppos) 30 size_t count, loff_t *ppos)
31{ 31{
32 size_t reg_len, val_len, tot_len; 32 int reg_len, val_len, tot_len;
33 size_t buf_pos = 0; 33 size_t buf_pos = 0;
34 loff_t p = 0; 34 loff_t p = 0;
35 ssize_t ret; 35 ssize_t ret;