diff options
Diffstat (limited to 'drivers/watchdog/i6300esb.c')
-rw-r--r-- | drivers/watchdog/i6300esb.c | 14 |
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 | ||
495 | static int __init watchdog_init(void) | 495 | module_pci_driver(esb_driver); |
496 | { | ||
497 | return pci_register_driver(&esb_driver); | ||
498 | } | ||
499 | |||
500 | static void __exit watchdog_cleanup(void) | ||
501 | { | ||
502 | pci_unregister_driver(&esb_driver); | ||
503 | pr_info("Watchdog Module Unloaded\n"); | ||
504 | } | ||
505 | |||
506 | module_init(watchdog_init); | ||
507 | module_exit(watchdog_cleanup); | ||
508 | 496 | ||
509 | MODULE_AUTHOR("Ross Biro and David Härdeman"); | 497 | MODULE_AUTHOR("Ross Biro and David Härdeman"); |
510 | MODULE_DESCRIPTION("Watchdog driver for Intel 6300ESB chipsets"); | 498 | MODULE_DESCRIPTION("Watchdog driver for Intel 6300ESB chipsets"); |