summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/linux/ramips/files/drivers/net/ramips_esw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/drivers/net/ramips_esw.c b/target/linux/ramips/files/drivers/net/ramips_esw.c
index df567a7216..c6b5db76dc 100644
--- a/target/linux/ramips/files/drivers/net/ramips_esw.c
+++ b/target/linux/ramips/files/drivers/net/ramips_esw.c
@@ -339,7 +339,7 @@ rt305x_esw_init(void)
return platform_driver_register(&rt305x_esw_driver);
}
-static void __exit
+static void
rt305x_esw_exit(void)
{
platform_driver_unregister(&rt305x_esw_driver);