diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-28 15:49:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-28 15:49:40 -0500 |
commit | 0191b625ca5a46206d2fb862bb08f36f2fcb3b31 (patch) | |
tree | 454d1842b1833d976da62abcbd5c47521ebe9bd7 /net/dsa/mv88e6060.c | |
parent | 54a696bd07c14d3b1192d03ce7269bc59b45209a (diff) | |
parent | eb56092fc168bf5af199d47af50c0d84a96db898 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1429 commits)
net: Allow dependancies of FDDI & Tokenring to be modular.
igb: Fix build warning when DCA is disabled.
net: Fix warning fallout from recent NAPI interface changes.
gro: Fix potential use after free
sfc: If AN is enabled, always read speed/duplex from the AN advertising bits
sfc: When disabling the NIC, close the device rather than unregistering it
sfc: SFT9001: Add cable diagnostics
sfc: Add support for multiple PHY self-tests
sfc: Merge top-level functions for self-tests
sfc: Clean up PHY mode management in loopback self-test
sfc: Fix unreliable link detection in some loopback modes
sfc: Generate unique names for per-NIC workqueues
802.3ad: use standard ethhdr instead of ad_header
802.3ad: generalize out mac address initializer
802.3ad: initialize ports LACPDU from const initializer
802.3ad: remove typedef around ad_system
802.3ad: turn ports is_individual into a bool
802.3ad: turn ports is_enabled into a bool
802.3ad: make ntt bool
ixgbe: Fix set_ringparam in ixgbe to use the same memory pools.
...
Fixed trivial IPv4/6 address printing conflicts in fs/cifs/connect.c due
to the conversion to %pI (in this networking merge) and the addition of
doing IPv6 addresses (from the earlier merge of CIFS).
Diffstat (limited to 'net/dsa/mv88e6060.c')
-rw-r--r-- | net/dsa/mv88e6060.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/dsa/mv88e6060.c b/net/dsa/mv88e6060.c index 54068ef251e8..85081ae9fe89 100644 --- a/net/dsa/mv88e6060.c +++ b/net/dsa/mv88e6060.c | |||
@@ -222,7 +222,7 @@ static void mv88e6060_poll_link(struct dsa_switch *ds) | |||
222 | 222 | ||
223 | for (i = 0; i < DSA_MAX_PORTS; i++) { | 223 | for (i = 0; i < DSA_MAX_PORTS; i++) { |
224 | struct net_device *dev; | 224 | struct net_device *dev; |
225 | int port_status; | 225 | int uninitialized_var(port_status); |
226 | int link; | 226 | int link; |
227 | int speed; | 227 | int speed; |
228 | int duplex; | 228 | int duplex; |
@@ -273,14 +273,14 @@ static struct dsa_switch_driver mv88e6060_switch_driver = { | |||
273 | .poll_link = mv88e6060_poll_link, | 273 | .poll_link = mv88e6060_poll_link, |
274 | }; | 274 | }; |
275 | 275 | ||
276 | int __init mv88e6060_init(void) | 276 | static int __init mv88e6060_init(void) |
277 | { | 277 | { |
278 | register_switch_driver(&mv88e6060_switch_driver); | 278 | register_switch_driver(&mv88e6060_switch_driver); |
279 | return 0; | 279 | return 0; |
280 | } | 280 | } |
281 | module_init(mv88e6060_init); | 281 | module_init(mv88e6060_init); |
282 | 282 | ||
283 | void __exit mv88e6060_cleanup(void) | 283 | static void __exit mv88e6060_cleanup(void) |
284 | { | 284 | { |
285 | unregister_switch_driver(&mv88e6060_switch_driver); | 285 | unregister_switch_driver(&mv88e6060_switch_driver); |
286 | } | 286 | } |