mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
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>
This commit is contained in:
parent
2107fb8b5b
commit
5eaa65b240
13 changed files with 23 additions and 23 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -407,14 +407,14 @@ static struct dsa_switch_driver mv88e6123_61_65_switch_driver = {
|
|||
.get_sset_count = mv88e6123_61_65_get_sset_count,
|
||||
};
|
||||
|
||||
int __init mv88e6123_61_65_init(void)
|
||||
static int __init mv88e6123_61_65_init(void)
|
||||
{
|
||||
register_switch_driver(&mv88e6123_61_65_switch_driver);
|
||||
return 0;
|
||||
}
|
||||
module_init(mv88e6123_61_65_init);
|
||||
|
||||
void __exit mv88e6123_61_65_cleanup(void)
|
||||
static void __exit mv88e6123_61_65_cleanup(void)
|
||||
{
|
||||
unregister_switch_driver(&mv88e6123_61_65_switch_driver);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue