]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Lasat: Fix build error if CRC32 is not enabled.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 26 Jun 2014 13:43:01 +0000 (14:43 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 26 Jun 2014 13:43:01 +0000 (14:43 +0100)
commitb05a6690afba6ea6bf488cfad7ac6ca20e5ce6b5
tree2d076972d723a17a499975812171609e1dd95c24
parente01777c1cd6c8d187ddd95440d3cec72d55e0456
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>
arch/mips/Kconfig