提交 afee73b1 编写于 作者: N notro 提交者: Zheng Zengkai

pinctrl-bcm2835: Set base to 0 give expected gpio numbering

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------
Signed-off-by: NNoralf Tronnes <notro@tronnes.org>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 ae829e9c
...@@ -362,7 +362,7 @@ static const struct gpio_chip bcm2835_gpio_chip = { ...@@ -362,7 +362,7 @@ static const struct gpio_chip bcm2835_gpio_chip = {
.get = bcm2835_gpio_get, .get = bcm2835_gpio_get,
.set = bcm2835_gpio_set, .set = bcm2835_gpio_set,
.set_config = gpiochip_generic_config, .set_config = gpiochip_generic_config,
.base = -1, .base = 0,
.ngpio = BCM2835_NUM_GPIOS, .ngpio = BCM2835_NUM_GPIOS,
.can_sleep = false, .can_sleep = false,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册