summaryrefslogtreecommitdiffstats
path: root/drivers/video/fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fb.c')
-rw-r--r--drivers/video/fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fb.c b/drivers/video/fb.c
index 004df1e604..5e829e832d 100644
--- a/drivers/video/fb.c
+++ b/drivers/video/fb.c
@@ -221,7 +221,7 @@ static int fb_set_modename(struct param_d *param, void *priv)
return 0;
}
-static struct file_operations fb_ops = {
+static struct cdev_operations fb_ops = {
.read = mem_read,
.write = mem_write,
.memmap = generic_memmap_rw,