]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
auxdisplay: MAX6959 should select BITREVERSE
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 20 Feb 2025 07:48:42 +0000 (08:48 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 20 Feb 2025 12:43:58 +0000 (14:43 +0200)
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>
drivers/auxdisplay/Kconfig

index 8934e6ad5772b4e0ade9e76bce488761afabb317..bedc6133f970aa8538c37b45bfebdc775654402a 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