[rtems commit] Leftover gpio function rename

Ben Gras beng at rtems.org
Tue Nov 3 18:59:28 UTC 2015


Module:    rtems
Branch:    master
Commit:    2502e26ddae7c8b5780b89c5d3b85fbe5b9ca6fa
Changeset: http://git.rtems.org/rtems/commit/?id=2502e26ddae7c8b5780b89c5d3b85fbe5b9ca6fa

Author:    Ben Gras <beng at rtems.org>
Date:      Tue Nov  3 18:00:15 2015 +0100

Leftover gpio function rename

Rename rtems_bsp_select_specific_io to rtems_gpio_bsp_select_specific_io.

Should've gone with 5c337d7. Fixes #2456.

---

 c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c      | 6 +++---
 c/src/lib/libbsp/arm/raspberrypi/gpio/rpi-gpio.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c b/c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c
index 5af8e9e..bd26051 100644
--- a/c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c
+++ b/c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c
@@ -255,7 +255,7 @@ rtems_status_code rtems_gpio_bsp_select_output(
   return bbb_select_pin_function(bank, pin, BBB_DIGITAL_OUT);
 }
 
-rtems_status_code rtems_bsp_select_specific_io(
+rtems_status_code rtems_gpio_bsp_select_specific_io(
   uint32_t bank,
   uint32_t pin,
   uint32_t function,
@@ -501,7 +501,7 @@ rtems_status_code rtems_gpio_bsp_select_output(
   return RTEMS_NOT_DEFINED;
 }
 
-rtems_status_code rtems_bsp_select_specific_io(
+rtems_status_code rtems_gpio_bsp_select_specific_io(
   uint32_t bank,
   uint32_t pin,
   uint32_t function,
@@ -561,4 +561,4 @@ rtems_status_code rtems_gpio_bsp_specific_group_operation(
   return RTEMS_NOT_DEFINED;
 }
 
-#endif /* IS_DM3730 */
\ No newline at end of file
+#endif /* IS_DM3730 */
diff --git a/c/src/lib/libbsp/arm/raspberrypi/gpio/rpi-gpio.c b/c/src/lib/libbsp/arm/raspberrypi/gpio/rpi-gpio.c
index 4fb2c93..642666a 100644
--- a/c/src/lib/libbsp/arm/raspberrypi/gpio/rpi-gpio.c
+++ b/c/src/lib/libbsp/arm/raspberrypi/gpio/rpi-gpio.c
@@ -119,7 +119,7 @@ rtems_status_code rtems_gpio_bsp_select_output(
   return rpi_select_pin_function(bank, pin, RPI_DIGITAL_OUT);
 }
 
-rtems_status_code rtems_bsp_select_specific_io(
+rtems_status_code rtems_gpio_bsp_select_specific_io(
   uint32_t bank,
   uint32_t pin,
   uint32_t function,



More information about the vc mailing list