Commit 4ff1af27 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] Fix use of const with __initdata

From:  Pablo Menichini <pablo@menichini.com.ar>

initdata can't be const
parent 2b95b034
...@@ -155,7 +155,7 @@ static struct miscdevice indydog_miscdev = { ...@@ -155,7 +155,7 @@ static struct miscdevice indydog_miscdev = {
.fops = &indydog_fops, .fops = &indydog_fops,
}; };
static const char banner[] __initdata = KERN_INFO "Hardware Watchdog Timer for SGI IP22: 0.2\n"; static char banner[] __initdata = KERN_INFO "Hardware Watchdog Timer for SGI IP22: 0.2\n";
static int __init watchdog_init(void) static int __init watchdog_init(void)
{ {
......
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