diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-10-25 09:37:21 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-10-25 09:37:21 +0000 |
commit | 0fe967f6e61142b536ccceb36e41db83b1713916 (patch) | |
tree | aede6a12e8663a5912dc721a2bee8e603ee25467 /target/linux/ramips/files/drivers/net | |
parent | 7af7711f9fe7850f0d293839260d05025cffc6b6 (diff) | |
download | master-31e0f0ae-0fe967f6e61142b536ccceb36e41db83b1713916.tar.gz master-31e0f0ae-0fe967f6e61142b536ccceb36e41db83b1713916.tar.bz2 master-31e0f0ae-0fe967f6e61142b536ccceb36e41db83b1713916.zip |
ramips: make ethernet fuctions static
SVN-Revision: 18144
Diffstat (limited to 'target/linux/ramips/files/drivers/net')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ramips.c | 8 |
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 4ea81db744..f3e056650b 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); } |