summaryrefslogtreecommitdiffstats
path: root/net/ethernet
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-07 11:18:45 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-08 14:54:33 +0100
commitda8f606e15c773c7e6950edab3d12105dc40615d (patch)
treeb154b5f9af06b4395f8248140ef871296908d742 /net/ethernet
parentfaeb8e7a0aac8dc79c4aa9fc0f01a36518fc5004 (diff)
downloadlinux-stable-da8f606e15c773c7e6950edab3d12105dc40615d.tar.gz
linux-stable-da8f606e15c773c7e6950edab3d12105dc40615d.tar.bz2
linux-stable-da8f606e15c773c7e6950edab3d12105dc40615d.zip
ethernet: un-export nvmem_get_mac_address()
nvmem_get_mac_address() is only called from of_net.c we don't need the export. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
-rw-r--r--net/ethernet/eth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c
index d7b8fa10fabb..182de70ac258 100644
--- a/net/ethernet/eth.c
+++ b/net/ethernet/eth.c
@@ -558,7 +558,6 @@ int nvmem_get_mac_address(struct device *dev, void *addrbuf)
return 0;
}
-EXPORT_SYMBOL(nvmem_get_mac_address);
static int fwnode_get_mac_addr(struct fwnode_handle *fwnode,
const char *name, char *addr)