2
0

303-gpio-update-dependencies-for-gpio-realtek-otto.patch 911 B

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