diff options
author | Timur Tabi <timur@freescale.com> | 2010-09-20 11:23:42 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-10-14 00:52:44 -0500 |
commit | fbdd7144ceadd578bc2a875af1dabd67e80ba0d0 (patch) | |
tree | a60c4bde8498c38da4b8897fb7083e7cdad5a900 /drivers/watchdog/ks8695_wdt.c | |
parent | 55ec2fca3e99f83b5c674e9aba713d848392f6cc (diff) | |
download | blackbird-op-linux-fbdd7144ceadd578bc2a875af1dabd67e80ba0d0.tar.gz blackbird-op-linux-fbdd7144ceadd578bc2a875af1dabd67e80ba0d0.zip |
powerpc/watchdog: Allow the Book-E driver to be compiled as a module
Register the __init and __exit functions in the PowerPC Book-E Watchdog
driver as module entry/exit functions, and modify the Kconfig entry.
Add a .release method for the PowerPC Book-E Watchdog driver, so that the
watchdog is disabled when the driver is closed.
Loosely based on original code from Jiang Yutang <b14898@freescale.com>.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/watchdog/ks8695_wdt.c')
0 files changed, 0 insertions, 0 deletions