diff options
Diffstat (limited to 'net/dsa')
| -rw-r--r-- | net/dsa/mv88e6060.c | 4 | ||||
| -rw-r--r-- | net/dsa/mv88e6123_61_65.c | 4 | ||||
| -rw-r--r-- | net/dsa/mv88e6131.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/net/dsa/mv88e6060.c b/net/dsa/mv88e6060.c index bfb4a643c860..85081ae9fe89 100644 --- a/net/dsa/mv88e6060.c +++ b/net/dsa/mv88e6060.c | |||
| @@ -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 | } |
diff --git a/net/dsa/mv88e6123_61_65.c b/net/dsa/mv88e6123_61_65.c index 555b164082fc..ec8c6a0482d3 100644 --- a/net/dsa/mv88e6123_61_65.c +++ b/net/dsa/mv88e6123_61_65.c | |||
| @@ -407,14 +407,14 @@ static struct dsa_switch_driver mv88e6123_61_65_switch_driver = { | |||
| 407 | .get_sset_count = mv88e6123_61_65_get_sset_count, | 407 | .get_sset_count = mv88e6123_61_65_get_sset_count, |
| 408 | }; | 408 | }; |
| 409 | 409 | ||
| 410 | int __init mv88e6123_61_65_init(void) | 410 | static int __init mv88e6123_61_65_init(void) |
| 411 | { | 411 | { |
| 412 | register_switch_driver(&mv88e6123_61_65_switch_driver); | 412 | register_switch_driver(&mv88e6123_61_65_switch_driver); |
| 413 | return 0; | 413 | return 0; |
| 414 | } | 414 | } |
| 415 | module_init(mv88e6123_61_65_init); | 415 | module_init(mv88e6123_61_65_init); |
| 416 | 416 | ||
| 417 | void __exit mv88e6123_61_65_cleanup(void) | 417 | static void __exit mv88e6123_61_65_cleanup(void) |
| 418 | { | 418 | { |
| 419 | unregister_switch_driver(&mv88e6123_61_65_switch_driver); | 419 | unregister_switch_driver(&mv88e6123_61_65_switch_driver); |
| 420 | } | 420 | } |
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 | } |
