arm: imx: iim/ocotp: fix link error when !CONFIG_NET
Don't try to attach mac to device if there is no net support selected.
Fixes:
undefined reference to `dev_add_param_mac' in both iim and ocotp drivers.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent cdb0d02 commit 802abe8434682ba70a0da93269959941eece5aab
@Lucas Stach Lucas Stach authored on 27 Nov 2014
Sascha Hauer committed on 27 Nov 2014
Showing 2 changed files
View
arch/arm/mach-imx/iim.c
View
arch/arm/mach-imx/ocotp.c