]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Apr 2025 08:15:05 +0000 (10:15 +0200)
commit179ef2f8109e3a8cde6cf02afa730d54bee92cd7
tree07af90ce17120a57030de3e1651d04478b4bc0bb
parentcdb6e724e7c5713d13c5ad3340e9d71c3dd8c9fb
gpiolib: of: Fix the choice for Ingenic NAND quirk

[ Upstream commit 2b9c536430126c233552cdcd6ec9d5077454ece4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/gpiolib-of.c