[PATCH 3/7] ARM: pinctrl: sunxi: Add the pinctrl pin set for sun5i

Linus Walleij linus.walleij at linaro.org
Fri Jan 18 14:26:23 EST 2013


On Tue, Jan 8, 2013 at 10:43 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:

> Since the Allwinner SoCs variants don't have the same set of pins to
> handle, we need to declare the pin ranges available.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
(...)
>  static struct of_device_id sunxi_pinctrl_match[] __devinitconst = {

I think __devinitconst is also deprecated.

> +       { .compatible = "allwinner,sun5i-a13-pinctrl", .data = (void *)&sun5i_a13_pinctrl_data },
>         {}
>  };
>  MODULE_DEVICE_TABLE(of, sunxi_pinctrl_match);

Aha so the match table is in the subdrivers, hm.... OK.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list