Messages in this thread | | | Date | Thu, 14 Feb 2013 00:13:32 +0100 | From | Wim Van Sebroeck <> | Subject | Re: [PATCH v4 6/8] watchdog/at91sam9_wdt: Remove the __initdata of at91wdt_wdd |
| |
Hi Wenyou,
> For this variable will be used in the timer handler. > > Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> > Cc: wim@iguana.be > Cc: linux-watchdog@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > --- > drivers/watchdog/at91sam9_wdt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c > index e60a718..3fc90ba 100644 > --- a/drivers/watchdog/at91sam9_wdt.c > +++ b/drivers/watchdog/at91sam9_wdt.c > @@ -199,7 +199,7 @@ static struct watchdog_ops at91wdt_ops = { > .ping = at91wdt_ping, > }; > > -static struct watchdog_device at91wdt_wdd __initdata = { > +static struct watchdog_device at91wdt_wdd = { > .timeout = WDT_HEARTBEAT, > .min_timeout = MIN_HEARTBEAT, > .max_timeout = MAX_HEARTBEAT,
should imho also have been part of your previous patches. Anyway, it's also like this in the patch I just sent you.
Kind regards, Wim.
| |