Commit 35c79780 authored by Sean MacLennan's avatar Sean MacLennan Committed by Wim Van Sebroeck

[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: default avatarSean MacLennan <smaclennan@pikatech.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 5e11611a
...@@ -52,7 +52,7 @@ static struct { ...@@ -52,7 +52,7 @@ static struct {
struct timer_list timer; /* The timer that pings the watchdog */ struct timer_list timer; /* The timer that pings the watchdog */
} pikawdt_private; } pikawdt_private;
static const struct watchdog_info ident = { static struct watchdog_info ident = {
.identity = DRV_NAME, .identity = DRV_NAME,
.options = WDIOF_CARDRESET | .options = WDIOF_CARDRESET |
WDIOF_SETTIMEOUT | WDIOF_SETTIMEOUT |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment