summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/mc34704.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/mc34704.c')
-rw-r--r--drivers/mfd/mc34704.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/mc34704.c b/drivers/mfd/mc34704.c
index 3dc85f5474..bfda169aaa 100644
--- a/drivers/mfd/mc34704.c
+++ b/drivers/mfd/mc34704.c
@@ -100,7 +100,7 @@ static ssize_t mc34704_write(struct cdev *cdev, const void *_buf, size_t count,
return count;
}
-static struct file_operations mc34704_fops = {
+static struct cdev_operations mc34704_fops = {
.lseek = dev_lseek_default,
.read = mc34704_read,
.write = mc34704_write,