pinctrl: u300: make u300_pmx_registers static
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 9 Jun 2016 10:55:00 +0000 (11:55 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 13 Jun 2016 07:27:43 +0000 (09:27 +0200)
The array u300_pmx_registers is not declared or used outside
of the driver, so make it static to avoid the following warning:

drivers/pinctrl/pinctrl-u300.c:673:11: warning: symbol 'u300_pmx_registers' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-u300.c

index d1af908..9cc80a5 100644 (file)
@@ -670,7 +670,7 @@ struct u300_pmx {
  * u300_pmx_registers - the array of registers read/written for each pinmux
  * shunt setting
  */
-const u32 u300_pmx_registers[] = {
+static const u32 u300_pmx_registers[] = {
        U300_SYSCON_PMC1LR,
        U300_SYSCON_PMC1HR,
        U300_SYSCON_PMC2R,