From: Sean MacLennan Date: Tue, 9 Mar 2010 00:46:41 +0000 (-0500) Subject: [WATCHDOG] powerpc: pika_wdt ident cannot be const X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=35c79780064976cf9d7537a00e59f97c2061fa7d;p=openwrt%2Fstaging%2Fblogic.git [WATCHDOG] powerpc: pika_wdt ident cannot be const The watchdog_info struct cannot be a const since we dynamically fill in the firmware version. Signed-off-by: Sean MacLennan Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/pika_wdt.c b/drivers/watchdog/pika_wdt.c index 435ec2aed4fe..2d22e996e996 100644 --- a/drivers/watchdog/pika_wdt.c +++ b/drivers/watchdog/pika_wdt.c @@ -52,7 +52,7 @@ static struct { struct timer_list timer; /* The timer that pings the watchdog */ } pikawdt_private; -static const struct watchdog_info ident = { +static struct watchdog_info ident = { .identity = DRV_NAME, .options = WDIOF_CARDRESET | WDIOF_SETTIMEOUT |