summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-11-27 18:05:06 +0100
committerDavid S. Miller <davem@davemloft.net>2011-11-29 06:21:36 +0100
commitfa67a04497c03a1ead12cd896262de14980311e8 (patch)
tree95fd3ab8132e857fc4fcbf5b278c1a2f515310be
parentMerge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff)
downloadlinux-fa67a04497c03a1ead12cd896262de14980311e8.tar.xz
linux-fa67a04497c03a1ead12cd896262de14980311e8.zip
dsa: Remove unnecessary exports
I mistakenly exported functions from slave.c that are only called from dsa.c, part of the same module. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Acked-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/dsa/slave.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index c9d52ca2184d..56cf9b8e1c7c 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -45,7 +45,6 @@ void dsa_slave_mii_bus_init(struct dsa_switch *ds)
ds->master_mii_bus->id, ds->pd->sw_addr);
ds->slave_mii_bus->parent = &ds->master_mii_bus->dev;
}
-EXPORT_SYMBOL_GPL(dsa_slave_mii_bus_init);
/* slave device handling ****************************************************/
@@ -403,4 +402,3 @@ dsa_slave_create(struct dsa_switch *ds, struct device *parent,
return slave_dev;
}
-EXPORT_SYMBOL_GPL(dsa_slave_create);