1 From 9bac1c20b8f39f2e0e342b087add5093b94feaed Mon Sep 17 00:00:00 2001
2 From: INAGAKI Hiroshi <musashino.open@gmail.com>
3 Date: Wed, 5 May 2021 22:05:39 +0900
4 Subject: realtek: backport gpio-realtek-otto driver from 5.13 to 5.10
6 This patch backports "gpio-realtek-otto" driver to Kernel 5.10.
7 "MACH_REALTEK_RTL" is used as a platform name in upstream, but "RTL838X"
8 is used in OpenWrt, so update the dependency by the additional patch.
10 Submitted-by: INAGAKI Hiroshi <musashino.open@gmail.com>
12 drivers/gpio/Kconfig | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14 --- a/drivers/gpio/Kconfig
15 +++ b/drivers/gpio/Kconfig
16 @@ -491,8 +491,8 @@ config GPIO_RDA
18 config GPIO_REALTEK_OTTO
19 tristate "Realtek Otto GPIO support"
20 - depends on MACH_REALTEK_RTL
21 - default MACH_REALTEK_RTL
25 select GPIOLIB_IRQCHIP