powerpc/40x: Add missing select OF_GPIO_MM_GPIOCHIP
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 23 Mar 2023 14:18:19 +0000 (16:18 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 23 Mar 2023 14:22:17 +0000 (16:22 +0200)
Since the split of the legacy of_mm_gpio_chip to a separate
file and a specific build configuration option, the users
must select it when needed. The PowerPC 40x code misses this,
so we have to add the select here.

Fixes: a99cc66807d6 ("gpiolib: split of_mm_gpio_chip out of linux/of_gpio.h")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
arch/powerpc/platforms/40x/Kconfig

index 614ea6d..b3c466c 100644 (file)
@@ -65,6 +65,7 @@ config PPC4xx_GPIO
        bool "PPC4xx GPIO support"
        depends on 40x
        select GPIOLIB
+       select OF_GPIO_MM_GPIOCHIP
        help
          Enable gpiolib support for ppc40x based boards