mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-06 02:59:27 +00:00
Silence ath79 GPIO driver warning by setting GPIO numberspace base dynamically. This patch also reorganize and fix the GPIO numbers on 6.6 kernel. The new gpio chip base number algorithm: gpiochip ath79-SOC ath9k-0 ath9k-1 base 512 512+ngpios 512+ngpios+10 Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/15784 Signed-off-by: Robert Marko <robimarko@gmail.com>