diff mbox

[U-Boot,RESEND] tegra: Remove tegra_spl_gpio_direction_output declaration from header file

Message ID 1426058189.28646.1.camel@phoenix
State Accepted
Delegated to: Tom Warren
Headers show

Commit Message

Axel Lin March 11, 2015, 7:16 a.m. UTC
This function is deleted by commit 2fccd2d96bad
"tegra: Convert tegra GPIO driver to use driver model".

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
I forgot adding Tom Warren in CC in my previous mail.
So here is a resend.

 arch/arm/include/asm/arch-tegra/gpio.h | 9 ---------
 1 file changed, 9 deletions(-)

Comments

Simon Glass March 11, 2015, 6:43 p.m. UTC | #1
On 11 March 2015 at 01:16, Axel Lin <axel.lin@ingics.com> wrote:
> This function is deleted by commit 2fccd2d96bad
> "tegra: Convert tegra GPIO driver to use driver model".
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> I forgot adding Tom Warren in CC in my previous mail.
> So here is a resend.
>
>  arch/arm/include/asm/arch-tegra/gpio.h | 9 ---------
>  1 file changed, 9 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-tegra/gpio.h b/arch/arm/include/asm/arch-tegra/gpio.h
> index 7334e0c..daf5698 100644
> --- a/arch/arm/include/asm/arch-tegra/gpio.h
> +++ b/arch/arm/include/asm/arch-tegra/gpio.h
> @@ -28,15 +28,6 @@ struct tegra_gpio_config {
>  };
>
>  /**
> - * tegra_spl_gpio_direction_output() - set the output value of a GPIO
> - *
> - * This function is only used from SPL on seaboard, which needs to enable a
> - * GPIO to get the UART running. It could be done in U-Boot rather than SPL,
> - * but for now, this gets it working
> - */
> -int tegra_spl_gpio_direction_output(int gpio, int value);
> -
> -/**
>   * Configure a list of GPIOs
>   *
>   * @param config       List of GPIO configurations
> --
> 1.9.1

Acked-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-tegra/gpio.h b/arch/arm/include/asm/arch-tegra/gpio.h
index 7334e0c..daf5698 100644
--- a/arch/arm/include/asm/arch-tegra/gpio.h
+++ b/arch/arm/include/asm/arch-tegra/gpio.h
@@ -28,15 +28,6 @@  struct tegra_gpio_config {
 };
 
 /**
- * tegra_spl_gpio_direction_output() - set the output value of a GPIO
- *
- * This function is only used from SPL on seaboard, which needs to enable a
- * GPIO to get the UART running. It could be done in U-Boot rather than SPL,
- * but for now, this gets it working
- */
-int tegra_spl_gpio_direction_output(int gpio, int value);
-
-/**
  * Configure a list of GPIOs
  *
  * @param config	List of GPIO configurations