aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/mv88e6131.c
diff options
context:
space:
mode:
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 = {
366 .get_sset_count = mv88e6131_get_sset_count, 366 .get_sset_count = mv88e6131_get_sset_count,
367}; 367};
368 368
369int __init mv88e6131_init(void) 369static 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}
374module_init(mv88e6131_init); 374module_init(mv88e6131_init);
375 375
376void __exit mv88e6131_cleanup(void) 376static void __exit mv88e6131_cleanup(void)
377{ 377{
378 unregister_switch_driver(&mv88e6131_switch_driver); 378 unregister_switch_driver(&mv88e6131_switch_driver);
379} 379}