Skip to content

Commit

Permalink
dsa: Remove unnecessary exports
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Nov 29, 2011
1 parent 8317e20 commit fa67a04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/dsa/slave.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ****************************************************/
Expand Down Expand Up @@ -403,4 +402,3 @@ dsa_slave_create(struct dsa_switch *ds, struct device *parent,

return slave_dev;
}
EXPORT_SYMBOL_GPL(dsa_slave_create);

0 comments on commit fa67a04

Please sign in to comment.