Skip to content

Commit

Permalink
[WATCHDOG] powerpc: pika_wdt ident cannot be const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sean MacLennan authored and Wim Van Sebroeck committed Apr 3, 2010
1 parent 5e11611 commit 35c7978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/pika_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 35c7978

Please sign in to comment.