diff options
Diffstat (limited to 'drivers/gpio/gpio-tegra.c')
-rw-r--r-- | drivers/gpio/gpio-tegra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index da32754fb25b..5ad4ceb14daa 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c | |||
@@ -118,12 +118,12 @@ static void tegra_gpio_disable(int gpio) | |||
118 | } | 118 | } |
119 | EXPORT_SYMBOL_GPL(tegra_gpio_disable); | 119 | EXPORT_SYMBOL_GPL(tegra_gpio_disable); |
120 | 120 | ||
121 | int tegra_gpio_request(struct gpio_chip *chip, unsigned offset) | 121 | static int tegra_gpio_request(struct gpio_chip *chip, unsigned offset) |
122 | { | 122 | { |
123 | return pinctrl_request_gpio(offset); | 123 | return pinctrl_request_gpio(offset); |
124 | } | 124 | } |
125 | 125 | ||
126 | void tegra_gpio_free(struct gpio_chip *chip, unsigned offset) | 126 | static void tegra_gpio_free(struct gpio_chip *chip, unsigned offset) |
127 | { | 127 | { |
128 | pinctrl_free_gpio(offset); | 128 | pinctrl_free_gpio(offset); |
129 | tegra_gpio_disable(offset); | 129 | tegra_gpio_disable(offset); |