aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/cpwatchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sbus/char/cpwatchdog.c')
-rw-r--r--drivers/sbus/char/cpwatchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/cpwatchdog.c b/drivers/sbus/char/cpwatchdog.c
index ad1c7db96cb4..0cfd1e4c032c 100644
--- a/drivers/sbus/char/cpwatchdog.c
+++ b/drivers/sbus/char/cpwatchdog.c
@@ -459,7 +459,7 @@ static irqreturn_t wd_interrupt(int irq, void *dev_id)
459 return IRQ_HANDLED; 459 return IRQ_HANDLED;
460} 460}
461 461
462static struct file_operations wd_fops = { 462static const struct file_operations wd_fops = {
463 .owner = THIS_MODULE, 463 .owner = THIS_MODULE,
464 .ioctl = wd_ioctl, 464 .ioctl = wd_ioctl,
465 .compat_ioctl = wd_compat_ioctl, 465 .compat_ioctl = wd_compat_ioctl,