projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faeb8e7
)
ethernet: un-export nvmem_get_mac_address()
author
Jakub Kicinski
<kuba@kernel.org>
Thu, 7 Oct 2021 18:18:45 +0000
(11:18 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 8 Oct 2021 13:54:33 +0000
(14:54 +0100)
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>
net/ethernet/eth.c
patch
|
blob
|
history
diff --git
a/net/ethernet/eth.c
b/net/ethernet/eth.c
index d7b8fa10fabb266071eb05d7ecb0ab03a5d6c6fe..182de70ac2586eb5d84c55f86b79797f47d32b05 100644
(file)
--- 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)