The newly added qlogic qed driver uses the zlib library, but misses the dependency: drivers/built-in.o: In function `qed_alloc_stream_mem': drivers/net/ethernet/qlogic/qed/qed_main.c:707: undefined reference to `zlib_inflate_workspacesize' drivers/built-in.o: In function `qed_unzip_data': drivers/net/ethernet/qlogic/qed/qed_main.c:675: undefined reference to `zlib_inflateInit2' This changes Kconfig to always select zlib when needed.
Unified · Split
| @@ -94,6 +94,7 @@ config NETXEN_NIC · 93 unmodified lines | ||
| 94 | 94 | config QED |
| 95 | 95 | tristate "QLogic QED 25/40/100Gb core driver" |
| 96 | 96 | depends on PCI |
| 97 | + select ZLIB_INFLATE | |
| 97 | 98 | ---help--- |
| 98 | 99 | This enables the support for ... |
| 99 | 100 | |