]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: khadas-mcu: Fix randconfig 'unused-const-variable' warning
authorLee Jones <lee.jones@linaro.org>
Fri, 28 Aug 2020 08:37:04 +0000 (09:37 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 30 Sep 2020 15:24:50 +0000 (16:24 +0100)
commitf58c15286197256616b7819ad893519e61388b9e
treec7752d45cae533e92b9fbda564cd10427a00ee18
parent3d1d20a2c9072e9abce91125da9a13fd56481460
mfd: khadas-mcu: Fix randconfig 'unused-const-variable' warning

When testing with !OF, the build system reports:

>> drivers/mfd/khadas-mcu.c:125:34: warning: unused variable 'khadas_mcu_of_match' [-Wunused-const-variable]
   static const struct of_device_id khadas_mcu_of_match[] = {
                                    ^
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/khadas-mcu.c