Commit c3496da5 authored by Slark Xiao's avatar Slark Xiao Committed by Jakub Kicinski

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: default avatarSlark Xiao <slark_xiao@163.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a9e7c3ce
...@@ -17,6 +17,7 @@ if NET_VENDOR_LITEX ...@@ -17,6 +17,7 @@ if NET_VENDOR_LITEX
config LITEX_LITEETH config LITEX_LITEETH
tristate "LiteX Ethernet support" tristate "LiteX Ethernet support"
depends on OF_NET
help help
If you wish to compile a kernel for hardware with a LiteX LiteEth If you wish to compile a kernel for hardware with a LiteX LiteEth
device then you should answer Y to this. device then you should answer Y to this.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment