Skip to contentSkip to conversation

powerpc: pika_wdt ident cannot be const

PATCH New Sean MacLennan 1 participant 1 message Mar 9, 2010 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: pika_wdt ident cannot be const

The watchdog_info struct cannot be a const since we dynamically fill in the firmware version.

---

drivers/watchdog/pika_wdt.c +1 -1
index 435ec2a..2d22e99 100644
@@ -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 |