summaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/ibmasr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/ibmasr.c')
-rw-r--r--drivers/char/watchdog/ibmasr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/watchdog/ibmasr.c b/drivers/char/watchdog/ibmasr.c
index 294c474ae485..26ceee7a4df0 100644
--- a/drivers/char/watchdog/ibmasr.c
+++ b/drivers/char/watchdog/ibmasr.c
@@ -10,7 +10,6 @@
* of the GNU Public License, incorporated herein by reference.
*/
-#include <linux/config.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/slab.h>
@@ -323,7 +322,7 @@ static int asr_release(struct inode *inode, struct file *file)
return 0;
}
-static struct file_operations asr_fops = {
+static const struct file_operations asr_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = asr_write,
OpenPOWER on IntegriCloud