diff options
Diffstat (limited to 'drivers/watchdog/pcwd_pci.c')
| -rw-r--r-- | drivers/watchdog/pcwd_pci.c | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/watchdog/pcwd_pci.c b/drivers/watchdog/pcwd_pci.c index 7890f84edf7..c0d07eef264 100644 --- a/drivers/watchdog/pcwd_pci.c +++ b/drivers/watchdog/pcwd_pci.c @@ -40,7 +40,7 @@  #include <linux/errno.h>	/* For the -ENODEV/... values */  #include <linux/kernel.h>	/* For printk/panic/... */  #include <linux/delay.h>	/* For mdelay function */ -#include <linux/miscdevice.h>	/* For MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR) */ +#include <linux/miscdevice.h>	/* For struct miscdevice */  #include <linux/watchdog.h>	/* For the watchdog specific items */  #include <linux/notifier.h>	/* For notifier support */  #include <linux/reboot.h>	/* For reboot_notifier stuff */ @@ -801,7 +801,7 @@ static void pcipcwd_card_exit(struct pci_dev *pdev)  	cards_found--;  } -static DEFINE_PCI_DEVICE_TABLE(pcipcwd_pci_tbl) = { +static const struct pci_device_id pcipcwd_pci_tbl[] = {  	{ PCI_VENDOR_ID_QUICKLOGIC, PCI_DEVICE_ID_WATCHDOG_PCIPCWD,  		PCI_ANY_ID, PCI_ANY_ID, },  	{ 0 },			/* End of list */ @@ -820,5 +820,3 @@ module_pci_driver(pcipcwd_driver);  MODULE_AUTHOR("Wim Van Sebroeck <wim@iguana.be>");  MODULE_DESCRIPTION("Berkshire PCI-PC Watchdog driver");  MODULE_LICENSE("GPL"); -MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR); -MODULE_ALIAS_MISCDEV(TEMP_MINOR);  | 
