diff options
| -rw-r--r-- | drivers/watchdog/intel_scu_watchdog.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/watchdog/intel_scu_watchdog.c b/drivers/watchdog/intel_scu_watchdog.c index 718f7db35bec..94dbcc1d3c2b 100644 --- a/drivers/watchdog/intel_scu_watchdog.c +++ b/drivers/watchdog/intel_scu_watchdog.c | |||
| @@ -25,7 +25,6 @@ | |||
| 25 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 25 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 26 | 26 | ||
| 27 | #include <linux/compiler.h> | 27 | #include <linux/compiler.h> |
| 28 | #include <linux/module.h> | ||
| 29 | #include <linux/kernel.h> | 28 | #include <linux/kernel.h> |
| 30 | #include <linux/moduleparam.h> | 29 | #include <linux/moduleparam.h> |
| 31 | #include <linux/types.h> | 30 | #include <linux/types.h> |
| @@ -545,21 +544,4 @@ register_reboot_error: | |||
| 545 | iounmap(watchdog_device.timer_load_count_addr); | 544 | iounmap(watchdog_device.timer_load_count_addr); |
| 546 | return ret; | 545 | return ret; |
| 547 | } | 546 | } |
| 548 | |||
| 549 | static void __exit intel_scu_watchdog_exit(void) | ||
| 550 | { | ||
| 551 | |||
| 552 | misc_deregister(&watchdog_device.miscdev); | ||
| 553 | unregister_reboot_notifier(&watchdog_device.intel_scu_notifier); | ||
| 554 | /* disable the timer */ | ||
| 555 | iowrite32(0x00000002, watchdog_device.timer_control_addr); | ||
| 556 | iounmap(watchdog_device.timer_load_count_addr); | ||
| 557 | } | ||
| 558 | |||
| 559 | late_initcall(intel_scu_watchdog_init); | 547 | late_initcall(intel_scu_watchdog_init); |
| 560 | module_exit(intel_scu_watchdog_exit); | ||
| 561 | |||
| 562 | MODULE_AUTHOR("Intel Corporation"); | ||
| 563 | MODULE_DESCRIPTION("Intel SCU Watchdog Device Driver"); | ||
| 564 | MODULE_LICENSE("GPL"); | ||
| 565 | MODULE_VERSION(WDT_VER); | ||
