Patchwork eql: fix non-constant printk warning

login
register
mail settings
Submitter stephen hemminger
Date March 20, 2009, 5:14 p.m.
Message ID <20090320101414.32374962@nehalam>
Download mbox | patch
Permalink /patch/24761/
State Accepted
Delegated to: David Miller
Headers show

Comments

stephen hemminger - March 20, 2009, 5:14 p.m.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - March 22, 2009, 2:09 a.m.
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Fri, 20 Mar 2009 10:14:14 -0700

> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- a/drivers/net/eql.c	2009-02-26 12:04:34.000000000 -0800
+++ b/drivers/net/eql.c	2009-02-26 12:04:52.000000000 -0800
@@ -159,7 +159,7 @@  static void eql_timer(unsigned long para
 	add_timer(&eql->timer);
 }
 
-static char version[] __initdata =
+static const char version[] __initconst =
 	"Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)\n";
 
 static const struct net_device_ops eql_netdev_ops = {