From 311282ba6686a9410c7b3123b95b2281c0042f37 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 20 Mar 2018 21:58:17 +0100 Subject: rename file_operations -> cdev_operations Linux also has struct file_operations which are something different. Rename our file_operations to cdev_operations which better matches what we have. Signed-off-by: Sascha Hauer --- drivers/mfd/mc9sdz60.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/mfd/mc9sdz60.c') diff --git a/drivers/mfd/mc9sdz60.c b/drivers/mfd/mc9sdz60.c index 0d2c56b480..9993efc5de 100644 --- a/drivers/mfd/mc9sdz60.c +++ b/drivers/mfd/mc9sdz60.c @@ -112,7 +112,7 @@ static ssize_t mc_write(struct cdev *cdev, const void *_buf, size_t count, loff_ return count; } -static struct file_operations mc_fops = { +static struct cdev_operations mc_fops = { .lseek = dev_lseek_default, .read = mc_read, .write = mc_write, -- cgit v1.2.3