aboutsummaryrefslogtreecommitdiff
path: root/drivers/acorn/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acorn/char')
-rw-r--r--drivers/acorn/char/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acorn/char/i2c.c b/drivers/acorn/char/i2c.c
index 9e584a7af43..157d8b73bb6 100644
--- a/drivers/acorn/char/i2c.c
+++ b/drivers/acorn/char/i2c.c
@@ -238,7 +238,7 @@ static int rtc_ioctl(struct inode *inode, struct file *file,
return -EINVAL;
}
-static struct file_operations rtc_fops = {
+static const struct file_operations rtc_fops = {
.ioctl = rtc_ioctl,
};