[PATCH] pinctrl: sirf: mark of_device_id match table as __devinitconst

Linus Walleij linus.walleij at linaro.org
Thu Jun 7 07:06:49 EDT 2012


On Mon, May 21, 2012 at 4:59 AM, Barry Song <Barry.Song at csr.com> wrote:

> From: Barry Song <Baohua.Song at csr.com>
>
> Signed-off-by: Barry Song <Baohua.Song at csr.com>
> ---
>  drivers/pinctrl/pinctrl-sirf.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/pinctrl/pinctrl-sirf.c b/drivers/pinctrl/pinctrl-sirf.c
> index 6b3534c..5816cc3 100644
> --- a/drivers/pinctrl/pinctrl-sirf.c
> +++ b/drivers/pinctrl/pinctrl-sirf.c
> @@ -1192,7 +1192,7 @@ out_no_gpio_remap:
>        return ret;
>  }
>
> -static const struct of_device_id pinmux_ids[]  = {
> +static const struct of_device_id pinmux_ids[] __devinitconst = {
>        { .compatible = "sirf,prima2-gpio-pinmux" },
>        {}
>  };

Hm Uwe poked me about this change, Barry are you sure the DT
ID table can be __devinitconst? I would think so, but better check
again.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list