net: designware: don't depend on CONFIG_OFTREE
This driver is written in a way that is should also work without
DT, but it had a compile time dependency on CONFIG_OFTREE.

Fixes:
drivers/built-in.o: In function `dwc_probe_dt':
drivers/net/designware.c:413: undefined reference to `of_get_phy_mode'

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5adb655 commit 32a629976e7fb4e098c5ee3213464520e2446ae4
@Lucas Stach Lucas Stach authored on 1 Mar 2015
Sascha Hauer committed on 2 Mar 2015
Showing 1 changed file
View
drivers/net/designware.c