Skip to content

Commit 16f0bbb

Browse files
committed
MIPS: Lasat: Fix build error if CRC32 is not enabled.
Kconfig doesn't select CRC32 so it's possible to build a Lasat kernel without CONFIG_CRC32 resulting in a build error: LD vmlinux arch/mips/built-in.o: In function `lasat_init_board_info': (.text+0x22c): undefined reference to `crc32_le' arch/mips/built-in.o: In function `lasat_write_eeprom_info': (.text+0x7fc): undefined reference to `crc32_le' make: *** [vmlinux] Error 1 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 5bb7889 commit 16f0bbb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/mips/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ config LANTIQ
269269
config LASAT
270270
bool "LASAT Networks platforms"
271271
select CEVT_R4K
272+
select CRC32
272273
select CSRC_R4K
273274
select DMA_NONCOHERENT
274275
select SYS_HAS_EARLY_PRINTK

0 commit comments

Comments
 (0)