[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080609222329.GO1987@cs181133002.pp.htv.fi>
Date: Tue, 10 Jun 2008 01:23:29 +0300
From: Adrian Bunk <bunk@...nel.org>
To: jgarzik@...ox.com
Cc: netdev@...r.kernel.org
Subject: [2.6 patch] make drivers/net/atarilance.c:lance_addr_list[] static
This patch makes the needlessly global lance_addr_list[] static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
--- linux-2.6/drivers/net/atarilance.c.old 2008-06-09 00:54:46.000000000 +0300
+++ linux-2.6/drivers/net/atarilance.c 2008-06-09 00:54:54.000000000 +0300
@@ -242,9 +242,9 @@ struct lance_private {
#define PKTBUF_ADDR(head) (((unsigned char *)(MEM)) + (head)->base)
/* Possible memory/IO addresses for probing */
-struct lance_addr {
+static struct lance_addr {
unsigned long memaddr;
unsigned long ioaddr;
int slow_flag;
} lance_addr_list[] = {
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists