aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/i6300esb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/i6300esb.c')
-rw-r--r--drivers/watchdog/i6300esb.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/watchdog/i6300esb.c b/drivers/watchdog/i6300esb.c
index 738032a36bcf..276877d5b6a3 100644
--- a/drivers/watchdog/i6300esb.c
+++ b/drivers/watchdog/i6300esb.c
@@ -492,19 +492,7 @@ static struct pci_driver esb_driver = {
492 .shutdown = esb_shutdown, 492 .shutdown = esb_shutdown,
493}; 493};
494 494
495static int __init watchdog_init(void) 495module_pci_driver(esb_driver);
496{
497 return pci_register_driver(&esb_driver);
498}
499
500static void __exit watchdog_cleanup(void)
501{
502 pci_unregister_driver(&esb_driver);
503 pr_info("Watchdog Module Unloaded\n");
504}
505
506module_init(watchdog_init);
507module_exit(watchdog_cleanup);
508 496
509MODULE_AUTHOR("Ross Biro and David Härdeman"); 497MODULE_AUTHOR("Ross Biro and David Härdeman");
510MODULE_DESCRIPTION("Watchdog driver for Intel 6300ESB chipsets"); 498MODULE_DESCRIPTION("Watchdog driver for Intel 6300ESB chipsets");