Re: [PATCH -next] staging: hp100: Fix build error without ETHERNET

2019-11-22 Thread Randy Dunlap
On 11/12/19 6:13 PM, YueHaibing wrote: > It should depends on ETHERNET, otherwise building fails: > > drivers/staging/hp/hp100.o: In function `hp100_pci_remove': > hp100.c:(.text+0x165): undefined reference to `unregister_netdev' > hp100.c:(.text+0x214): undefined reference to `free_netdev' > >

[PATCH -next] staging: hp100: Fix build error without ETHERNET

2019-11-12 Thread YueHaibing
It should depends on ETHERNET, otherwise building fails: drivers/staging/hp/hp100.o: In function `hp100_pci_remove': hp100.c:(.text+0x165): undefined reference to `unregister_netdev' hp100.c:(.text+0x214): undefined reference to `free_netdev' Fixes: 52340b82cf1a ("hp100: Move 100BaseVG AnyLAN