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 --- arch/sandbox/board/hostfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/sandbox/board/hostfile.c') diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c index e7d92ea031..3fc1503799 100644 --- a/arch/sandbox/board/hostfile.c +++ b/arch/sandbox/board/hostfile.c @@ -64,7 +64,7 @@ static void hf_info(struct device_d *dev) printf("file: %s\n", priv->filename); } -static struct file_operations hf_fops = { +static struct cdev_operations hf_fops = { .read = hf_read, .write = hf_write, .lseek = dev_lseek_default, -- cgit v1.2.3