1763d31fb0dca6091c0fab54fff2177e4b7f91b7
[openwrt/staging/hauke.git] / target / linux / realtek / patches-5.10 / 303-gpio-update-dependencies-for-gpio-realtek-otto.patch
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: fix gpio-realtek-otto driver dependency
5
6 "MACH_REALTEK_RTL" is used as a platform name in upstream, but "RTL838X"
7 is used in OpenWrt, so fix the dependency by renaming it.
8
9 Submitted-by: INAGAKI Hiroshi <musashino.open@gmail.com>
10 ---
11 drivers/gpio/Kconfig | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13 --- a/drivers/gpio/Kconfig
14 +++ b/drivers/gpio/Kconfig
15 @@ -491,8 +491,8 @@ config GPIO_RDA
16
17 config GPIO_REALTEK_OTTO
18 tristate "Realtek Otto GPIO support"
19 - depends on MACH_REALTEK_RTL
20 - default MACH_REALTEK_RTL
21 + depends on RTL83XX
22 + default RTL838X
23 select GPIO_GENERIC
24 select GPIOLIB_IRQCHIP
25 help