net: Add depends on OF_NET for LiteX's LiteETH
authorSlark Xiao <slark_xiao@163.com>
Tue, 31 Aug 2021 02:40:25 +0000 (10:40 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 31 Aug 2021 15:36:38 +0000 (08:36 -0700)
commitc3496da580b0fc10fdeba8f6a5e6aef4c78b5598
tree4cbd627d643f94ff2648df8295235f9addee8d0d
parenta9e7c3cedc2914f63cd135b75832b9bf850af782
net: Add depends on OF_NET for LiteX's LiteETH

Current settings may produce a build error when
CONFIG_OF_NET is disabled. The CONFIG_OF_NET controls
a headfile <linux/of.h> and some functions
 in <linux/of_net.h>.

Signed-off-by: Slark Xiao <slark_xiao@163.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/litex/Kconfig