projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: change mac address initialization
[openwrt/staging/dedeckeh.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ar71xx
/
dev-ap91-eth.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.c
index e45092c46cd6b68cf7053ff7794b4c7ddac27929..fbb813603fa4c5431c030a112f83828bdf4cbf56 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.c
+++ b/
target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.c
@@
-34,11
+34,8
@@
static void ap91_eth_set_port_name(unsigned port, const char *name)
ap91_dsa_chip.port_names[port] = (char *) name;
}
-void __init ap91_eth_init(
u8 *mac_addr,
const char *port_names[])
+void __init ap91_eth_init(const char *port_names[])
{
- if (mac_addr)
- ar71xx_set_mac_base(mac_addr);
-
if (port_names) {
int i;