]> git.baikalelectronics.ru Git - kernel.git/commit
qed: select ZLIB_INFLATE
authorArnd Bergmann <arnd@arndb.de>
Tue, 10 Nov 2015 10:28:15 +0000 (11:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Nov 2015 20:39:03 +0000 (15:39 -0500)
commitd0c9c50eb052415c471b05e0ca4844bf250b1071
treeb099d4a0c5e6a9ffeaf9097b29e17af25d701c8e
parent390a1a5ac88f88137ab82fd5f9b82f3031d75588
qed: select ZLIB_INFLATE

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.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 6d97d3e46aef ("qed: Add module with basic common support")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/Kconfig