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: v2.6.18-rc1~1115^2~58 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b32a312895c00ff03178e49db8b651ee1e48178;p=linux-2.6 [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 4e99981814..cac9fdd2e1 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 - */