Skip to content

Commit 3d13970

Browse files
YueHaibinggregkh
authored andcommitted
fpga-manager: altera-ps-spi: Fix build error
If BITREVERSE is m and FPGA_MGR_ALTERA_PS_SPI is y, build fails: drivers/fpga/altera-ps-spi.o: In function `altera_ps_write': altera-ps-spi.c:(.text+0x4ec): undefined reference to `byte_rev_table' Select BITREVERSE to fix this. Reported-by: Hulk Robot <[email protected]> Fixes: fcfe18f ("fpga-manager: altera-ps-spi: use bitrev8x4") Signed-off-by: YueHaibing <[email protected]> Cc: stable <[email protected]> Acked-by: Moritz Fischer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1be8624 commit 3d13970

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/fpga/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ config ALTERA_PR_IP_CORE_PLAT
4040
config FPGA_MGR_ALTERA_PS_SPI
4141
tristate "Altera FPGA Passive Serial over SPI"
4242
depends on SPI
43+
select BITREVERSE
4344
help
4445
FPGA manager driver support for Altera Arria/Cyclone/Stratix
4546
using the passive serial interface over SPI.

0 commit comments

Comments
 (0)