mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-04 19:54:59 +00:00
gpio: loongson1: Introduce ls1x_gpio_chip struct
This patch introduces and allocates ls1x_gpio_chip struct containing gpio_chip and reg_base to avoid global gpio_reg_base. Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
a9b4678a40
commit
31b6ec6793
1 changed files with 25 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue