summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-03-20 21:58:17 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-04-06 14:43:32 +0200
commit311282ba6686a9410c7b3123b95b2281c0042f37 (patch)
treefe105973c2e4389a083b8ede6eef6e52ed42c76f /drivers/video
parentbd9ad3a602295fb9aa8882fbf27c54288b150d5f (diff)
downloadbarebox-311282ba6686a9410c7b3123b95b2281c0042f37.tar.gz
barebox-311282ba6686a9410c7b3123b95b2281c0042f37.tar.xz
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video')
-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,