projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel: use eth_random_addr instead of random_ether_addr
[openwrt/openwrt.git]
/
target
/
linux
/
generic
/
files
/
drivers
/
bcma
/
fallback-sprom.c
diff --git
a/target/linux/generic/files/drivers/bcma/fallback-sprom.c
b/target/linux/generic/files/drivers/bcma/fallback-sprom.c
index ce93560a4829b9ea26b9e21ab6d2eb57761ea853..db583fca9cc2a7cbfd77f2967d26eee5d17d33f9 100644
(file)
--- a/
target/linux/generic/files/drivers/bcma/fallback-sprom.c
+++ b/
target/linux/generic/files/drivers/bcma/fallback-sprom.c
@@
-494,7
+494,7
@@
static int bcma_fbs_probe(struct platform_device *pdev)
if (is_valid_ether_addr(mac)) {
dev_info(dev, "mtd mac %pM\n", mac);
} else {
-
random_ether
_addr(mac);
+
eth_random
_addr(mac);
dev_info(dev, "random mac %pM\n", mac);
}