Skip to content

Commit c3496da

Browse files
SlarkXiaokuba-moo
authored andcommitted
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 <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent a9e7c3c commit c3496da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/litex/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ if NET_VENDOR_LITEX
1717

1818
config LITEX_LITEETH
1919
tristate "LiteX Ethernet support"
20+
depends on OF_NET
2021
help
2122
If you wish to compile a kernel for hardware with a LiteX LiteEth
2223
device then you should answer Y to this.

0 commit comments

Comments
 (0)