gpiolib: of: Fix the choice for Ingenic NAND quirk
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 2 Apr 2025 12:20:00 +0000 (15:20 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 8 Apr 2025 09:06:33 +0000 (11:06 +0200)
commit2b9c536430126c233552cdcd6ec9d5077454ece4
tree8e6791bb5df194b96db6e47d308fbcaa2a8bf409
parentc5672e310ad971d408752fce7596ed27adc6008f
gpiolib: of: Fix the choice for Ingenic NAND quirk

The Ingenic NAND quirk has been added under CONFIG_LCD_HX8357 ifdeffery
which sounds quite wrong. Fix the choice for Ingenic NAND quirk
by wrapping it into own ifdeffery related to the respective driver.

Fixes: 3a7fd473bd5d ("mtd: rawnand: ingenic: move the GPIO quirk to gpiolib-of.c")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250402122058.1517393-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-of.c