[PATCH 2/2] [v2] powerpc/watchdog: allow the e500 watchdog driver to be compiled as a module

Kumar Gala kumar.gala at freescale.com
Thu Oct 7 17:00:21 EST 2010


On Sep 20, 2010, at 11:23 AM, Timur Tabi wrote:

> Register the __init and __exit functions in the PowerPC e500 watchdog driver
> as module entry/exit functions, and modify the Kconfig entry.
> 
> Add a .release method for the PowerPC e500 watchdog driver, so that the
> watchdog is disabled when the driver is closed.
> 
> Loosely based on original code from Jiang Yutang <b14898 at freescale.com>.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> 
> This patch requires:
> 
> 	powerpc: export ppc_proc_freq and ppc_tb_freq as GPL symbols
> 
> drivers/watchdog/Kconfig     |    5 ++++-
> drivers/watchdog/booke_wdt.c |   39 +++++++++++++++++++++++++++++++++++++--
> 2 files changed, 41 insertions(+), 3 deletions(-)


applied to next [fixed comment message to say Book-E instead of e500]

- k


More information about the Linuxppc-dev mailing list