diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-06-05 15:26:02 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-06-19 09:35:11 +0200 |
commit | 8966ada2d40790214444c193be4902924e7ef02e (patch) | |
tree | 27a04c778f119c9a060629dd365617950d130c19 /drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c | |
parent | pinctrl: sunxi: Add macro definition for pinctrl with more than one interrupt (diff) | |
download | linux-8966ada2d40790214444c193be4902924e7ef02e.tar.xz linux-8966ada2d40790214444c193be4902924e7ef02e.zip |
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-sun6i-a31-r.c')
-rw-r--r-- | drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c index 8fcba48e0a42..9a2517b65113 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c @@ -93,6 +93,7 @@ static const struct sunxi_pinctrl_desc sun6i_a31_r_pinctrl_data = { .pins = sun6i_a31_r_pins, .npins = ARRAY_SIZE(sun6i_a31_r_pins), .pin_base = PL_BASE, + .irq_banks = 2, }; static int sun6i_a31_r_pinctrl_probe(struct platform_device *pdev) |