[PATCH v2] auxdisplay: MAX6959 should select BITREVERSE

From: Geert Uytterhoeven
Date: Thu Feb 20 2025 - 02:48:55 EST


If CONFIG_BITREVERSE is not enabled:

max6959.c:(.text+0x92): undefined reference to `byte_rev_table'

Fixes: a9bcd02fa42217c7 ("auxdisplay: Add driver for MAX695x 7-segment LED controllers")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/202502161703.3Vr4M7qg-lkp@xxxxxxxxx/
Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
---
v2:
- Do not sort selects.
---
drivers/auxdisplay/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig
index 8934e6ad5772b4e0..3b588318e8b5700b 100644
--- a/drivers/auxdisplay/Kconfig
+++ b/drivers/auxdisplay/Kconfig
@@ -505,6 +505,7 @@ config MAX6959
depends on I2C
select REGMAP_I2C
select LINEDISP
+ select BITREVERSE
help
If you say yes here you get support for the following Maxim chips
(I2C 7-segment LED display controller):
--
2.43.0