mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
f1f97db627
OpenWRT's developer guide prefers having actual patches so they an be sent upstream more easily. However, in this case, Adding proper fields also allows for `git am` to properly function. Some of these patches are quite old, and lack much traceable history. This commit tries to rectify that, by digging in the history to find where and how it was first added. It is by no means perfect and also shows some patches that should have been long gone. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
27 lines
911 B
Diff
27 lines
911 B
Diff
From 9bac1c20b8f39f2e0e342b087add5093b94feaed Mon Sep 17 00:00:00 2001
|
|
From: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Date: Wed, 5 May 2021 22:05:39 +0900
|
|
Subject: realtek: backport gpio-realtek-otto driver from 5.13 to 5.10
|
|
|
|
This patch backports "gpio-realtek-otto" driver to Kernel 5.10.
|
|
"MACH_REALTEK_RTL" is used as a platform name in upstream, but "RTL838X"
|
|
is used in OpenWrt, so update the dependency by the additional patch.
|
|
|
|
Submitted-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
---
|
|
drivers/gpio/Kconfig | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
--- a/drivers/gpio/Kconfig
|
|
+++ b/drivers/gpio/Kconfig
|
|
@@ -491,8 +491,8 @@ config GPIO_RDA
|
|
|
|
config GPIO_REALTEK_OTTO
|
|
tristate "Realtek Otto GPIO support"
|
|
- depends on MACH_REALTEK_RTL
|
|
- default MACH_REALTEK_RTL
|
|
+ depends on RTL83XX
|
|
+ default RTL838X
|
|
select GPIO_GENERIC
|
|
select GPIOLIB_IRQCHIP
|
|
help
|