diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2008-12-10 18:18:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-10 18:18:31 -0500 |
commit | 5eaa65b240c5eb7bf2235eb9dd177c83e6e3832c (patch) | |
tree | 1a6b217cfc5b241b298a8765f68fcb5f711f9bc3 /net/dsa/mv88e6131.c | |
parent | 2107fb8b5bf018be691afdd4c6ffaecf0c3307be (diff) |
net: Make static
Sparse asked whether these could be static.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/mv88e6131.c')
-rw-r--r-- | net/dsa/mv88e6131.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dsa/mv88e6131.c b/net/dsa/mv88e6131.c index 36e01eb863a0..374d46a01265 100644 --- a/net/dsa/mv88e6131.c +++ b/net/dsa/mv88e6131.c | |||
@@ -366,14 +366,14 @@ static struct dsa_switch_driver mv88e6131_switch_driver = { | |||
366 | .get_sset_count = mv88e6131_get_sset_count, | 366 | .get_sset_count = mv88e6131_get_sset_count, |
367 | }; | 367 | }; |
368 | 368 | ||
369 | int __init mv88e6131_init(void) | 369 | static int __init mv88e6131_init(void) |
370 | { | 370 | { |
371 | register_switch_driver(&mv88e6131_switch_driver); | 371 | register_switch_driver(&mv88e6131_switch_driver); |
372 | return 0; | 372 | return 0; |
373 | } | 373 | } |
374 | module_init(mv88e6131_init); | 374 | module_init(mv88e6131_init); |
375 | 375 | ||
376 | void __exit mv88e6131_cleanup(void) | 376 | static void __exit mv88e6131_cleanup(void) |
377 | { | 377 | { |
378 | unregister_switch_driver(&mv88e6131_switch_driver); | 378 | unregister_switch_driver(&mv88e6131_switch_driver); |
379 | } | 379 | } |