summaryrefslogtreecommitdiffstats
path: root/net/dsa/mv88e6060.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/mv88e6060.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/mv88e6060.c')
-rw-r--r--net/dsa/mv88e6060.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dsa/mv88e6060.c b/net/dsa/mv88e6060.c
index bfb4a643c86..85081ae9fe8 100644
--- a/net/dsa/mv88e6060.c
+++ b/net/dsa/mv88e6060.c
@@ -273,14 +273,14 @@ static struct dsa_switch_driver mv88e6060_switch_driver = {
.poll_link = mv88e6060_poll_link,
};
-int __init mv88e6060_init(void)
+static int __init mv88e6060_init(void)
{
register_switch_driver(&mv88e6060_switch_driver);
return 0;
}
module_init(mv88e6060_init);
-void __exit mv88e6060_cleanup(void)
+static void __exit mv88e6060_cleanup(void)
{
unregister_switch_driver(&mv88e6060_switch_driver);
}