pinctrl: zynq: add static to zynq_pins
diff mbox

Message ID 1432817843-6038-1-git-send-email-yamada.masahiro@socionext.com
State New, archived
Headers show

Commit Message

Masahiro Yamada May 28, 2015, 12:57 p.m. UTC
This array is only referenced in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/pinctrl/pinctrl-zynq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Soren Brinkmann May 28, 2015, 4:09 p.m. UTC | #1
On Thu, 2015-05-28 at 09:57PM +0900, Masahiro Yamada wrote:
> This array is only referenced in this file.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>

I start to wonder how I missed all of these :) Thanks for cleaning it
up!

	Sören
Linus Walleij June 2, 2015, 11:29 a.m. UTC | #2
On Thu, May 28, 2015 at 2:57 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:

> This array is only referenced in this file.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Patch applied.

Yours,
Linus Walleij

Patch
diff mbox

diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c
index 0ff653c..a687f24 100644
--- a/drivers/pinctrl/pinctrl-zynq.c
+++ b/drivers/pinctrl/pinctrl-zynq.c
@@ -123,7 +123,7 @@  enum zynq_pinmux_functions {
 	ZYNQ_PMUX_MAX_FUNC
 };
 
-const struct pinctrl_pin_desc zynq_pins[] = {
+static const struct pinctrl_pin_desc zynq_pins[] = {
 	PINCTRL_PIN(0,  "MIO0"),
 	PINCTRL_PIN(1,  "MIO1"),
 	PINCTRL_PIN(2,  "MIO2"),