summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-25 09:37:21 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-25 09:37:21 +0000
commit5244481045dc939875611403b4464bfb3bff6943 (patch)
tree8d178f4f9e448d93e05ab077fdb46c4a30d7b44c /target/linux/ramips/files
parent00b47a7a924239b4e7e66645d9c6b47912d942c5 (diff)
ramips: make ethernet fuctions static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18144 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files')
-rw-r--r--target/linux/ramips/files/drivers/net/ramips.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/files/drivers/net/ramips.c b/target/linux/ramips/files/drivers/net/ramips.c
index 4ea81db74..f3e056650 100644
--- a/target/linux/ramips/files/drivers/net/ramips.c
+++ b/target/linux/ramips/files/drivers/net/ramips.c
@@ -317,7 +317,7 @@ ramips_eth_stop(struct net_device *dev)
return 0;
}
-int __init
+static int __init
ramips_eth_probe(struct net_device *dev)
{
struct raeth_priv *priv = (struct raeth_priv*)netdev_priv(dev);
@@ -390,7 +390,8 @@ static struct platform_driver ramips_eth_driver = {
},
};
-int __init ramips_eth_init(void)
+static int __init
+ramips_eth_init(void)
{
int ret = platform_driver_register(&ramips_eth_driver);
if (ret)
@@ -398,7 +399,8 @@ int __init ramips_eth_init(void)
return ret;
}
-static void __exit ramips_eth_cleanup(void)
+static void __exit
+ramips_eth_cleanup(void)
{
platform_driver_unregister(&ramips_eth_driver);
}