summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/lp3972.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/lp3972.c')
-rw-r--r--drivers/mfd/lp3972.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/lp3972.c b/drivers/mfd/lp3972.c
index 9826699..0f3093b 100644
--- a/drivers/mfd/lp3972.c
+++ b/drivers/mfd/lp3972.c
@@ -58,7 +58,7 @@ static u32 lp_read_reg(struct lp_priv *lp, int reg)
return buf;
}
-static ssize_t lp_read(struct cdev *cdev, void *_buf, size_t count, ulong offset, ulong flags)
+static ssize_t lp_read(struct cdev *cdev, void *_buf, size_t count, loff_t offset, ulong flags)
{
struct lp_priv *priv = to_lp_priv(cdev);
int i = count;