summaryrefslogtreecommitdiff
path: root/net/dsa/mv88e6131.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2008-12-10 15:18:31 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-10 15:18:31 -0800
commit5eaa65b240c5eb7bf2235eb9dd177c83e6e3832c (patch)
tree1a6b217cfc5b241b298a8765f68fcb5f711f9bc3 /net/dsa/mv88e6131.c
parent2107fb8b5bf018be691afdd4c6ffaecf0c3307be (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.c4
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 = {
.get_sset_count = mv88e6131_get_sset_count,
};
-int __init mv88e6131_init(void)
+static int __init mv88e6131_init(void)
{
register_switch_driver(&mv88e6131_switch_driver);
return 0;
}
module_init(mv88e6131_init);
-void __exit mv88e6131_cleanup(void)
+static void __exit mv88e6131_cleanup(void)
{
unregister_switch_driver(&mv88e6131_switch_driver);
}