提交 35c79780 编写于 作者: S Sean MacLennan 提交者: 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: NSean MacLennan <smaclennan@pikatech.com>
Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册