* [PATCH] pinctrl: u300: Staticize non-exported symbols
@ 2012-11-05 13:42 Axel Lin
2012-11-06 8:22 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2012-11-05 13:42 UTC (permalink / raw)
To: Linus Walleij; +Cc: linux-kernel
Staticize u300_pin_config_get() and u300_pin_config_set() functions.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/pinctrl/pinctrl-u300.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-u300.c b/drivers/pinctrl/pinctrl-u300.c
index 2e9825e..d756cce 100644
--- a/drivers/pinctrl/pinctrl-u300.c
+++ b/drivers/pinctrl/pinctrl-u300.c
@@ -1052,9 +1052,8 @@ static struct pinctrl_gpio_range *u300_match_gpio_range(unsigned pin)
return NULL;
}
-int u300_pin_config_get(struct pinctrl_dev *pctldev,
- unsigned pin,
- unsigned long *config)
+static int u300_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin,
+ unsigned long *config)
{
struct pinctrl_gpio_range *range = u300_match_gpio_range(pin);
@@ -1067,9 +1066,8 @@ int u300_pin_config_get(struct pinctrl_dev *pctldev,
config);
}
-int u300_pin_config_set(struct pinctrl_dev *pctldev,
- unsigned pin,
- unsigned long config)
+static int u300_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin,
+ unsigned long config)
{
struct pinctrl_gpio_range *range = u300_match_gpio_range(pin);
int ret;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pinctrl: u300: Staticize non-exported symbols
2012-11-05 13:42 [PATCH] pinctrl: u300: Staticize non-exported symbols Axel Lin
@ 2012-11-06 8:22 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2012-11-06 8:22 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel
On Mon, Nov 5, 2012 at 2:42 PM, Axel Lin <axel.lin@ingics.com> wrote:
> Staticize u300_pin_config_get() and u300_pin_config_set() functions.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
OK it still builds after this, patch applied!
Thanks!
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-06 8:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-05 13:42 [PATCH] pinctrl: u300: Staticize non-exported symbols Axel Lin
2012-11-06 8:22 ` Linus Walleij
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.