net: eth: Do not rely on CONFIG_PARAMETER to be enabled
register_preset_mac_address only works when CONFIG_PARAMETER
is enabled because otherwise dev_set_param is a no-op. Add a
function to set the MAC address explicitly without the need
of CONFIG_PARAMETER and use it where appropriate.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1dd5262 commit d00db5548a4dd8decad44fe3718bd8dff3bacb80
@Sascha Hauer Sascha Hauer authored on 15 Jun 2015
Showing 3 changed files
View
include/net.h
View
net/eth.c
View
net/net.c