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:
committed by
David S. Miller
parent
2107fb8b5b
commit
5eaa65b240
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user