summaryrefslogtreecommitdiffstats
path: root/drivers/char/ip27-rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ip27-rtc.c')
-rw-r--r--drivers/char/ip27-rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ip27-rtc.c b/drivers/char/ip27-rtc.c
index 3acdac3..a48da02 100644
--- a/drivers/char/ip27-rtc.c
+++ b/drivers/char/ip27-rtc.c
@@ -196,7 +196,7 @@ static int rtc_release(struct inode *inode, struct file *file)
* The various file operations we support.
*/
-static struct file_operations rtc_fops = {
+static const struct file_operations rtc_fops = {
.owner = THIS_MODULE,
.ioctl = rtc_ioctl,
.open = rtc_open,
OpenPOWER on IntegriCloud