summaryrefslogtreecommitdiffstats
path: root/drivers/net/ksz8864rmn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ksz8864rmn.c')
-rw-r--r--drivers/net/ksz8864rmn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ksz8864rmn.c b/drivers/net/ksz8864rmn.c
index 860af448ea..8b9d66019b 100644
--- a/drivers/net/ksz8864rmn.c
+++ b/drivers/net/ksz8864rmn.c
@@ -120,7 +120,7 @@ static ssize_t micel_switch_write(struct cdev *cdev, const void *_buf, size_t co
return count;
}
-static struct file_operations micrel_switch_ops = {
+static struct cdev_operations micrel_switch_ops = {
.read = micel_switch_read,
.write = micel_switch_write,
.lseek = dev_lseek_default,