[PATCH 07/12] dsa: Remove unnecessary exports
Tim Gardner
tim.gardner at canonical.com
Thu May 24 20:58:19 UTC 2012
From: Ben Hutchings <ben at decadent.org.uk>
BugLink: http://bugs.launchpad.net/bugs/1004148
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 at decadent.org.uk>
Acked-by: Lennert Buytenhek <buytenh at wantstofly.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
(cherry picked from commit fa67a04497c03a1ead12cd896262de14980311e8)
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
net/dsa/slave.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index c9d52ca..56cf9b8 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);
--
1.7.9.5
More information about the kernel-team
mailing list