diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-02-17 15:09:59 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-17 15:09:59 -0500 |
commit | 48c871c1f6a7c7044dd76774fb469e65c7e2e4e8 (patch) | |
tree | da3aa535c98cc0957851354ceb0fbff7482d7a9d /drivers/char/watchdog | |
parent | 1a1689344add3333d28d1b5495d8043a3877d01c (diff) | |
parent | 4409d28140d9a6e6e3f4f1fdaf7234c4b965d954 (diff) |
Merge branch 'gfar' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into upstream
Diffstat (limited to 'drivers/char/watchdog')
-rw-r--r-- | drivers/char/watchdog/alim7101_wdt.c | 6 | ||||
-rw-r--r-- | drivers/char/watchdog/iTCO_wdt.c | 2 | ||||
-rw-r--r-- | drivers/char/watchdog/omap_wdt.c | 2 | ||||
-rw-r--r-- | drivers/char/watchdog/pc87413_wdt.c | 2 | ||||
-rw-r--r-- | drivers/char/watchdog/pnx4008_wdt.c | 2 | ||||
-rw-r--r-- | drivers/char/watchdog/rm9k_wdt.c | 2 | ||||
-rw-r--r-- | drivers/char/watchdog/smsc37b787_wdt.c | 2 | ||||
-rw-r--r-- | drivers/char/watchdog/w83697hf_wdt.c | 2 |
8 files changed, 9 insertions, 11 deletions
diff --git a/drivers/char/watchdog/alim7101_wdt.c b/drivers/char/watchdog/alim7101_wdt.c index bf25d0a55a99..e5b2c2ee292c 100644 --- a/drivers/char/watchdog/alim7101_wdt.c +++ b/drivers/char/watchdog/alim7101_wdt.c | |||
@@ -417,10 +417,8 @@ module_init(alim7101_wdt_init); | |||
417 | module_exit(alim7101_wdt_unload); | 417 | module_exit(alim7101_wdt_unload); |
418 | 418 | ||
419 | static struct pci_device_id alim7101_pci_tbl[] __devinitdata = { | 419 | static struct pci_device_id alim7101_pci_tbl[] __devinitdata = { |
420 | { PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, | 420 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533) }, |
421 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 421 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) }, |
422 | { PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101, | ||
423 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | ||
424 | { } | 422 | { } |
425 | }; | 423 | }; |
426 | 424 | ||
diff --git a/drivers/char/watchdog/iTCO_wdt.c b/drivers/char/watchdog/iTCO_wdt.c index 7eac922df867..fd8a44a08cd3 100644 --- a/drivers/char/watchdog/iTCO_wdt.c +++ b/drivers/char/watchdog/iTCO_wdt.c | |||
@@ -539,7 +539,7 @@ static int iTCO_wdt_ioctl (struct inode *inode, struct file *file, | |||
539 | * Kernel Interfaces | 539 | * Kernel Interfaces |
540 | */ | 540 | */ |
541 | 541 | ||
542 | static struct file_operations iTCO_wdt_fops = { | 542 | static const struct file_operations iTCO_wdt_fops = { |
543 | .owner = THIS_MODULE, | 543 | .owner = THIS_MODULE, |
544 | .llseek = no_llseek, | 544 | .llseek = no_llseek, |
545 | .write = iTCO_wdt_write, | 545 | .write = iTCO_wdt_write, |
diff --git a/drivers/char/watchdog/omap_wdt.c b/drivers/char/watchdog/omap_wdt.c index 6c6f97332dbb..84074a697dce 100644 --- a/drivers/char/watchdog/omap_wdt.c +++ b/drivers/char/watchdog/omap_wdt.c | |||
@@ -230,7 +230,7 @@ omap_wdt_ioctl(struct inode *inode, struct file *file, | |||
230 | } | 230 | } |
231 | } | 231 | } |
232 | 232 | ||
233 | static struct file_operations omap_wdt_fops = { | 233 | static const struct file_operations omap_wdt_fops = { |
234 | .owner = THIS_MODULE, | 234 | .owner = THIS_MODULE, |
235 | .write = omap_wdt_write, | 235 | .write = omap_wdt_write, |
236 | .ioctl = omap_wdt_ioctl, | 236 | .ioctl = omap_wdt_ioctl, |
diff --git a/drivers/char/watchdog/pc87413_wdt.c b/drivers/char/watchdog/pc87413_wdt.c index 1d447e32af41..a77a90717ad2 100644 --- a/drivers/char/watchdog/pc87413_wdt.c +++ b/drivers/char/watchdog/pc87413_wdt.c | |||
@@ -526,7 +526,7 @@ static int pc87413_notify_sys(struct notifier_block *this, | |||
526 | 526 | ||
527 | /* -- Module's structures ---------------------------------------*/ | 527 | /* -- Module's structures ---------------------------------------*/ |
528 | 528 | ||
529 | static struct file_operations pc87413_fops = { | 529 | static const struct file_operations pc87413_fops = { |
530 | .owner = THIS_MODULE, | 530 | .owner = THIS_MODULE, |
531 | .llseek = no_llseek, | 531 | .llseek = no_llseek, |
532 | .write = pc87413_write, | 532 | .write = pc87413_write, |
diff --git a/drivers/char/watchdog/pnx4008_wdt.c b/drivers/char/watchdog/pnx4008_wdt.c index 3a55fc6abcd8..ff6f1ca1e5e7 100644 --- a/drivers/char/watchdog/pnx4008_wdt.c +++ b/drivers/char/watchdog/pnx4008_wdt.c | |||
@@ -238,7 +238,7 @@ static int pnx4008_wdt_release(struct inode *inode, struct file *file) | |||
238 | return 0; | 238 | return 0; |
239 | } | 239 | } |
240 | 240 | ||
241 | static struct file_operations pnx4008_wdt_fops = { | 241 | static const struct file_operations pnx4008_wdt_fops = { |
242 | .owner = THIS_MODULE, | 242 | .owner = THIS_MODULE, |
243 | .llseek = no_llseek, | 243 | .llseek = no_llseek, |
244 | .write = pnx4008_wdt_write, | 244 | .write = pnx4008_wdt_write, |
diff --git a/drivers/char/watchdog/rm9k_wdt.c b/drivers/char/watchdog/rm9k_wdt.c index 7576a13e86bc..b4678839d3bb 100644 --- a/drivers/char/watchdog/rm9k_wdt.c +++ b/drivers/char/watchdog/rm9k_wdt.c | |||
@@ -95,7 +95,7 @@ MODULE_PARM_DESC(nowayout, "Watchdog cannot be disabled once started"); | |||
95 | 95 | ||
96 | 96 | ||
97 | /* Kernel interfaces */ | 97 | /* Kernel interfaces */ |
98 | static struct file_operations fops = { | 98 | static const struct file_operations fops = { |
99 | .owner = THIS_MODULE, | 99 | .owner = THIS_MODULE, |
100 | .open = wdt_gpi_open, | 100 | .open = wdt_gpi_open, |
101 | .release = wdt_gpi_release, | 101 | .release = wdt_gpi_release, |
diff --git a/drivers/char/watchdog/smsc37b787_wdt.c b/drivers/char/watchdog/smsc37b787_wdt.c index 9f56913b484f..a9681d580dd3 100644 --- a/drivers/char/watchdog/smsc37b787_wdt.c +++ b/drivers/char/watchdog/smsc37b787_wdt.c | |||
@@ -510,7 +510,7 @@ static int wb_smsc_wdt_notify_sys(struct notifier_block *this, unsigned long cod | |||
510 | 510 | ||
511 | /* -- Module's structures ---------------------------------------*/ | 511 | /* -- Module's structures ---------------------------------------*/ |
512 | 512 | ||
513 | static struct file_operations wb_smsc_wdt_fops = | 513 | static const struct file_operations wb_smsc_wdt_fops = |
514 | { | 514 | { |
515 | .owner = THIS_MODULE, | 515 | .owner = THIS_MODULE, |
516 | .llseek = no_llseek, | 516 | .llseek = no_llseek, |
diff --git a/drivers/char/watchdog/w83697hf_wdt.c b/drivers/char/watchdog/w83697hf_wdt.c index 7768b55487c8..c960ec110dd7 100644 --- a/drivers/char/watchdog/w83697hf_wdt.c +++ b/drivers/char/watchdog/w83697hf_wdt.c | |||
@@ -323,7 +323,7 @@ wdt_notify_sys(struct notifier_block *this, unsigned long code, | |||
323 | * Kernel Interfaces | 323 | * Kernel Interfaces |
324 | */ | 324 | */ |
325 | 325 | ||
326 | static struct file_operations wdt_fops = { | 326 | static const struct file_operations wdt_fops = { |
327 | .owner = THIS_MODULE, | 327 | .owner = THIS_MODULE, |
328 | .llseek = no_llseek, | 328 | .llseek = no_llseek, |
329 | .write = wdt_write, | 329 | .write = wdt_write, |