]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[WATCHDOG] powerpc: pika_wdt ident cannot be const
authorSean MacLennan <smaclennan@pikatech.com>
Tue, 9 Mar 2010 00:46:41 +0000 (19:46 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 3 Apr 2010 22:22:20 +0000 (22:22 +0000)
The watchdog_info struct cannot be a const since we dynamically fill
in the firmware version.

Signed-off-by: Sean MacLennan <smaclennan@pikatech.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/pika_wdt.c

index 435ec2aed4fe49b8eb956d94301648de350d84e2..2d22e996e9963cedaf656aa1c82867894d14c906 100644 (file)
@@ -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 |