Skip to contentSkip to conversation

tegra: Remove tegra_spl_gpio_direction_output declaration from header file

PATCH RESEND New Axel Lin 2 participants 2 messages Mar 11, 2015

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH RESEND 1/1 tegra: Remove tegra_spl_gpio_direction_output declaration from header file

This function is deleted by commit 2fccd2d96bad "tegra: Convert tegra GPIO driver to use driver model".

---
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(-)
arch/arm/include/asm/arch-tegra/gpio.h +0 -9
index 7334e0c..daf5698 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH RESEND 1/1 tegra: Remove tegra_spl_gpio_direction_output declaration from header file

Quoted 32 lines · Axel Lin

This function is deleted by commit 2fccd2d96bad "tegra: Convert tegra GPIO driver to use driver model".

---
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(-)
arch/arm/include/asm/arch-tegra/gpio.h +0 -10
index 7334e0c..daf5698 100644
@@ -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
--
Quoted 1 line

1.9.1