Skip to content

Commit 836e0e5

Browse files
vladimirolteandavem330
authored andcommitted
net: mscc: ocelot: remove EXPORT_SYMBOL from ocelot_net.c
Now that all net_device operations are bundled together inside mscc_ocelot.ko and no longer part of the common library, there's no reason to export these symbols. Signed-off-by: Vladimir Oltean <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent cf8a9ab commit 836e0e5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/mscc/ocelot_net.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,6 @@ static int ocelot_netdevice_event(struct notifier_block *unused,
953953
struct notifier_block ocelot_netdevice_nb __read_mostly = {
954954
.notifier_call = ocelot_netdevice_event,
955955
};
956-
EXPORT_SYMBOL(ocelot_netdevice_nb);
957956

958957
static int ocelot_switchdev_event(struct notifier_block *unused,
959958
unsigned long event, void *ptr)
@@ -975,7 +974,6 @@ static int ocelot_switchdev_event(struct notifier_block *unused,
975974
struct notifier_block ocelot_switchdev_nb __read_mostly = {
976975
.notifier_call = ocelot_switchdev_event,
977976
};
978-
EXPORT_SYMBOL(ocelot_switchdev_nb);
979977

980978
static int ocelot_switchdev_blocking_event(struct notifier_block *unused,
981979
unsigned long event, void *ptr)
@@ -1008,7 +1006,6 @@ static int ocelot_switchdev_blocking_event(struct notifier_block *unused,
10081006
struct notifier_block ocelot_switchdev_blocking_nb __read_mostly = {
10091007
.notifier_call = ocelot_switchdev_blocking_event,
10101008
};
1011-
EXPORT_SYMBOL(ocelot_switchdev_blocking_nb);
10121009

10131010
int ocelot_probe_port(struct ocelot *ocelot, u8 port,
10141011
void __iomem *regs,
@@ -1054,4 +1051,3 @@ int ocelot_probe_port(struct ocelot *ocelot, u8 port,
10541051

10551052
return err;
10561053
}
1057-
EXPORT_SYMBOL(ocelot_probe_port);

0 commit comments

Comments
 (0)