Commit 31b6ec67 authored by Keguang Zhang's avatar Keguang Zhang Committed by Bartosz Golaszewski
Browse files

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: default avatarKeguang Zhang <keguang.zhang@gmail.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent a9b4678a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment