]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
auxdisplay: MAX6959 should select BITREVERSE
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 20 Feb 2025 07:48:42 +0000 (08:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:12 +0000 (14:39 +0200)
[ Upstream commit fce85f3da08b76c1b052f53a9f6f9c40a8a10660 ]

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@intel.com>
Closes: https://lore.kernel.org/202502161703.3Vr4M7qg-lkp@intel.com/
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/auxdisplay/Kconfig

index 21545ffba0658f6bca1c71436f18c48674dd7e9d..2a9bb31633a71e7dda3ca254e090aac364205659 100644 (file)
@@ -503,6 +503,7 @@ config HT16K33
 config MAX6959
        tristate "Maxim MAX6958/6959 7-segment LED controller"
        depends on I2C
+       select BITREVERSE
        select REGMAP_I2C
        select LINEDISP
        help