diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-12-21 17:40:55 +0300 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-03-09 14:22:21 +0300 |
commit | 4d73b73ff7943c92e8bcb65fece8caa70c24db87 (patch) | |
tree | 753df7217815f2b78f0d07c11935e5573be4c700 /drivers/firmware/broadcom/Kconfig | |
parent | b68c2575810521e470466b5faf4b79e796d12d74 (diff) | |
download | linux-4d73b73ff7943c92e8bcb65fece8caa70c24db87.tar.xz |
FIRMWARE: bcm47xx_nvram: Replace mac address parsing
Replace sscanf() with mac_pton().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17982/
Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'drivers/firmware/broadcom/Kconfig')
-rw-r--r-- | drivers/firmware/broadcom/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/broadcom/Kconfig b/drivers/firmware/broadcom/Kconfig index 3c7e5b741e37..f77cdb3a041f 100644 --- a/drivers/firmware/broadcom/Kconfig +++ b/drivers/firmware/broadcom/Kconfig @@ -13,6 +13,7 @@ config BCM47XX_NVRAM config BCM47XX_SPROM bool "Broadcom SPROM driver" depends on BCM47XX_NVRAM + select GENERIC_NET_UTILS help Broadcom devices store configuration data in SPROM. Accessing it is specific to the bus host type, e.g. PCI(e) devices have it mapped in |