Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/40x: Add missing select OF_GPIO_MM_GPIOCHIP

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>

+1
+1
arch/powerpc/platforms/40x/Kconfig
··· 65 65 bool "PPC4xx GPIO support" 66 66 depends on 40x 67 67 select GPIOLIB 68 + select OF_GPIO_MM_GPIOCHIP 68 69 help 69 70 Enable gpiolib support for ppc40x based boards 70 71