summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-06-05 15:26:02 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-06-19 09:35:11 +0200
commit8966ada2d40790214444c193be4902924e7ef02e (patch)
tree27a04c778f119c9a060629dd365617950d130c19 /drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c
parent6e1c30239fe31aae6b415088c39ede7fa62b190c (diff)
downloadlinux-8966ada2d40790214444c193be4902924e7ef02e.tar.gz
pinctrl: sunxi: Declare the number of interrupt banks in the descriptor
Declare in the description structure associated to the compatible the number of interrupt banks the device has. For now, we're not doing anything with it. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c')
-rw-r--r--drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c b/drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c
index 164d743f526c..2fa7430cabaf 100644
--- a/drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c
@@ -661,6 +661,7 @@ static const struct sunxi_desc_pin sun5i_a10s_pins[] = {
static const struct sunxi_pinctrl_desc sun5i_a10s_pinctrl_data = {
.pins = sun5i_a10s_pins,
.npins = ARRAY_SIZE(sun5i_a10s_pins),
+ .irq_banks = 1,
};
static int sun5i_a10s_pinctrl_probe(struct platform_device *pdev)