mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
lib: sw842: select crc32
The sw842 library code was merged in linux-4.1 and causes a very rare randconfig
failure when CONFIG_CRC32 is not set:
lib/built-in.o: In function `sw842_compress':
oid_registry.c:(.text+0x12ddc): undefined reference to `crc32_be'
lib/built-in.o: In function `sw842_decompress':
oid_registry.c:(.text+0x137e4): undefined reference to `crc32_be'
This adds an explict 'select CRC32' statement, similar to what the other users
of the crc32 code have. In practice, CRC32 is always enabled anyway because
over 100 other symbols select it.
Cc: [email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Fixes: 2da572c959 ("lib: add software 842 compression/decompression")
Acked-by: Dan Streetman <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
a6a48c565f
commit
5b57167749
1 changed files with 2 additions and 0 deletions
|
|
@ -210,9 +210,11 @@ config RANDOM32_SELFTEST
|
|||
# compression support is select'ed if needed
|
||||
#
|
||||
config 842_COMPRESS
|
||||
select CRC32
|
||||
tristate
|
||||
|
||||
config 842_DECOMPRESS
|
||||
select CRC32
|
||||
tristate
|
||||
|
||||
config ZLIB_INFLATE
|
||||
|
|
|
|||
Loading…
Reference in a new issue