summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-amd.h
diff options
context:
space:
mode:
authorJacky Hu <hengqing.hu@gmail.com>2020-06-16 04:50:24 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-06-22 10:35:39 +0300
commit69339d083dfb7786b0e0b3fc19eaddcf11fabdfb (patch)
tree3dce0397c25dd5e33e6102a7a4a3f3edc76d7833 /drivers/pinctrl/pinctrl-amd.h
parent48778464bb7d346b47157d21ffde2af6b2d39110 (diff)
downloadlinux-69339d083dfb7786b0e0b3fc19eaddcf11fabdfb.tar.xz
pinctrl: amd: fix npins for uart0 in kerncz_groups
uart0_pins is defined as: static const unsigned uart0_pins[] = {135, 136, 137, 138, 139}; which npins is wronly specified as 9 later { .name = "uart0", .pins = uart0_pins, .npins = 9, }, npins should be 5 instead of 9 according to the definition. Signed-off-by: Jacky Hu <hengqing.hu@gmail.com> Link: https://lore.kernel.org/r/20200616015024.287683-1-hengqing.hu@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-amd.h')
-rw-r--r--drivers/pinctrl/pinctrl-amd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-amd.h b/drivers/pinctrl/pinctrl-amd.h
index 3e5760f1a715..d4a192df5fab 100644
--- a/drivers/pinctrl/pinctrl-amd.h
+++ b/drivers/pinctrl/pinctrl-amd.h
@@ -252,7 +252,7 @@ static const struct amd_pingroup kerncz_groups[] = {
{
.name = "uart0",
.pins = uart0_pins,
- .npins = 9,
+ .npins = 5,
},
{
.name = "uart1",