summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-01-04 00:36:19 +0300
committerDavid S. Miller <davem@davemloft.net>2021-01-06 02:50:36 +0300
commit1d48595c786b1b9dc6be301e8d7f6fc74e9882aa (patch)
tree1d910011d9135e940e8565a6ddd22d3bbc5e1035
parentf9d6f94132f01d2a552dcbab54fa56496638186d (diff)
downloadlinux-1d48595c786b1b9dc6be301e8d7f6fc74e9882aa.tar.xz
can: kvaser_pciefd: select CONFIG_CRC32
Without crc32, this driver fails to link: arm-linux-gnueabi-ld: drivers/net/can/kvaser_pciefd.o: in function `kvaser_pciefd_probe': kvaser_pciefd.c:(.text+0x2b0): undefined reference to `crc32_be' Fixes: 26ad340e582d ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/can/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig
index 424970939fd4..1c28eade6bec 100644
--- a/drivers/net/can/Kconfig
+++ b/drivers/net/can/Kconfig
@@ -123,6 +123,7 @@ config CAN_JANZ_ICAN3
config CAN_KVASER_PCIEFD
depends on PCI
tristate "Kvaser PCIe FD cards"
+ select CRC32
help
This is a driver for the Kvaser PCI Express CAN FD family.