2013-06-24 11:35:27

by Sachin Kamat

[permalink] [raw]
Subject: [PATCH 1/1] pinctrl: samsung: Staticize drvdata_list

'drvdata_list' is used only in this file. Make it static.

Signed-off-by: Sachin Kamat <[email protected]>
---
drivers/pinctrl/pinctrl-samsung.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/pinctrl-samsung.c
index 0a6c720..a7fa9e2 100644
--- a/drivers/pinctrl/pinctrl-samsung.c
+++ b/drivers/pinctrl/pinctrl-samsung.c
@@ -50,7 +50,7 @@ static struct pin_config {
};

/* Global list of devices (struct samsung_pinctrl_drv_data) */
-LIST_HEAD(drvdata_list);
+static LIST_HEAD(drvdata_list);

static unsigned int pin_base;

--
1.7.9.5


2013-06-24 12:30:44

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH 1/1] pinctrl: samsung: Staticize drvdata_list

On Mon, Jun 24, 2013 at 1:20 PM, Sachin Kamat <[email protected]> wrote:

> 'drvdata_list' is used only in this file. Make it static.
>
> Signed-off-by: Sachin Kamat <[email protected]>

Patch applied.

Yours,
Linus Walleij