Skip to content

Commit 4181ef7

Browse files
rddunlapgregkh
authored andcommitted
greybus: BeaglePlay driver needs CRC_CCITT
The gb-beagleplay driver uses crc_ccitt(), so it should select CRC_CCITT to make sure that the function is available. Fixes these build errors: s390-linux-ld: drivers/greybus/gb-beagleplay.o: in function `hdlc_append_tx_u8': gb-beagleplay.c:(.text+0x2c0): undefined reference to `crc_ccitt' s390-linux-ld: drivers/greybus/gb-beagleplay.o: in function `hdlc_rx_frame': gb-beagleplay.c:(.text+0x6a0): undefined reference to `crc_ccitt' Fixes: ec558bb ("greybus: Add BeaglePlay Linux Driver") Signed-off-by: Randy Dunlap <[email protected]> Cc: Ayush Singh <[email protected]> Cc: Johan Hovold <[email protected]> Cc: Alex Elder <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ayush Singh <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 88ac06a commit 4181ef7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/greybus/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ if GREYBUS
2020
config GREYBUS_BEAGLEPLAY
2121
tristate "Greybus BeaglePlay driver"
2222
depends on SERIAL_DEV_BUS
23+
select CRC_CCITT
2324
help
2425
Select this option if you have a BeaglePlay where CC1352
2526
co-processor acts as Greybus SVC.

0 commit comments

Comments
 (0)