From: Adrian Bunk Date: Tue, 16 May 2006 15:30:50 +0000 (+0200) Subject: [PATCH] drivers/net/s2io.c: make bus_speed[] static X-Git-Tag: firefly_0821_release~35492^2~58 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7b32a312895c00ff03178e49db8b651ee1e48178;p=firefly-linux-kernel-4.4.55.git [PATCH] drivers/net/s2io.c: make bus_speed[] static On Mon, May 15, 2006 at 12:56:37AM -0700, Andrew Morton wrote: >... > Changes since 2.6.17-rc3-mm1: >... > git-netdev-all.patch >... > git trees >... This patch makes the needlessly global bus_speed[] static. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index 4e9998181403..cac9fdd2e1d5 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c @@ -852,7 +852,7 @@ static int s2io_on_nec_bridge(struct pci_dev *s2io_pdev) return 0; } -int bus_speed[8] = {33, 133, 133, 200, 266, 133, 200, 266}; +static int bus_speed[8] = {33, 133, 133, 200, 266, 133, 200, 266}; /** * s2io_print_pci_mode - */