summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorSean MacLennan <smaclennan@pikatech.com>2010-03-08 19:46:41 -0500
committerWim Van Sebroeck <wim@iguana.be>2010-04-03 22:22:20 +0000
commit35c79780064976cf9d7537a00e59f97c2061fa7d (patch)
tree23f7131fb50d982b073b4974b8425fdb34d58754 /drivers/watchdog
parent5e11611a5d22252f3f9c169a3c9377eac0c32033 (diff)
downloadop-kernel-dev-35c79780064976cf9d7537a00e59f97c2061fa7d.zip
op-kernel-dev-35c79780064976cf9d7537a00e59f97c2061fa7d.tar.gz
[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 <smaclennan@pikatech.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/pika_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/pika_wdt.c b/drivers/watchdog/pika_wdt.c
index 435ec2a..2d22e99 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 |
OpenPOWER on IntegriCloud