projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e11611
)
[WATCHDOG] powerpc: pika_wdt ident cannot be const
author
Sean MacLennan
<smaclennan@pikatech.com>
Tue, 9 Mar 2010 00:46:41 +0000
(19:46 -0500)
committer
Wim 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
patch
|
blob
|
history
diff --git
a/drivers/watchdog/pika_wdt.c
b/drivers/watchdog/pika_wdt.c
index 435ec2aed4fe49b8eb956d94301648de350d84e2..2d22e996e9963cedaf656aa1c82867894d14c906 100644
(file)
--- 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 |