]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ethernet: un-export nvmem_get_mac_address()
authorJakub Kicinski <kuba@kernel.org>
Thu, 7 Oct 2021 18:18:45 +0000 (11:18 -0700)
committerDavid 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

index d7b8fa10fabb266071eb05d7ecb0ab03a5d6c6fe..182de70ac2586eb5d84c55f86b79797f47d32b05 100644 (file)
@@ -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)