Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16f0bbbc authored by Ralf Baechle's avatar Ralf Baechle
Browse files

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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 5bb7889f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -269,6 +269,7 @@ config LANTIQ
config LASAT
config LASAT
	bool "LASAT Networks platforms"
	bool "LASAT Networks platforms"
	select CEVT_R4K
	select CEVT_R4K
	select CRC32
	select CSRC_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select SYS_HAS_EARLY_PRINTK