[PATCH] booke_wdt: Fix build failure as a module

2014-08-19 Thread Pranith Kumar
Building booke_wdt fails when trying to build as a module as there is no early_param() in module. Fix by enclosing within MODULE check. Also remove notrace attribute as it is implicit in the __init attribute. Signed-off-by: Pranith Kumar --- drivers/watchdog/booke_wdt.c | 5 - 1 file change

Re: [PATCH] booke_wdt: Fix build failure as a module

2014-08-20 Thread Pranith Kumar
On Wed, Aug 20, 2014 at 9:25 AM, Guenter Roeck wrote: > On Tue, Aug 19, 2014 at 11:12:07PM -0400, Pranith Kumar wrote: >> Building booke_wdt fails when trying to build as a module as there is no >> early_param() in module. Fix by enclosing within MODULE check. >> > Might make more sense to replace

Re: [PATCH] booke_wdt: Fix build failure as a module

2014-08-20 Thread Guenter Roeck
On Tue, Aug 19, 2014 at 11:12:07PM -0400, Pranith Kumar wrote: > Building booke_wdt fails when trying to build as a module as there is no > early_param() in module. Fix by enclosing within MODULE check. > Might make more sense to replace the early_param with a normal module parameter. Taking the m