diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-22 14:48:10 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2008-01-25 15:41:30 -0500 |
commit | b47a166ed0baaaa30112532bad41b21e7c5e4d31 (patch) | |
tree | 21dd81db7259f3090758cfaeb05cc8234974c398 /drivers/watchdog/mpc5200_wdt.c | |
parent | 6f702fce387e16e16d7930b5c9927d5e71d36ece (diff) |
[WATCHDOG] constify function pointer tables
"static struct file_operations" should be
"static const struct file_operations".
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/mpc5200_wdt.c')
-rw-r--r-- | drivers/watchdog/mpc5200_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/mpc5200_wdt.c b/drivers/watchdog/mpc5200_wdt.c index 11f6a111e75b..80a91d4cea11 100644 --- a/drivers/watchdog/mpc5200_wdt.c +++ b/drivers/watchdog/mpc5200_wdt.c | |||
@@ -158,7 +158,7 @@ static int mpc5200_wdt_release(struct inode *inode, struct file *file) | |||
158 | return 0; | 158 | return 0; |
159 | } | 159 | } |
160 | 160 | ||
161 | static struct file_operations mpc5200_wdt_fops = { | 161 | static const struct file_operations mpc5200_wdt_fops = { |
162 | .owner = THIS_MODULE, | 162 | .owner = THIS_MODULE, |
163 | .write = mpc5200_wdt_write, | 163 | .write = mpc5200_wdt_write, |
164 | .ioctl = mpc5200_wdt_ioctl, | 164 | .ioctl = mpc5200_wdt_ioctl, |