configs/: Remove prototypes of board_led* functions from all board header files

This commit is contained in:
Gregory Nutt 2015-02-27 17:32:01 -06:00
parent 6934085e22
commit 00a4b1f6d6
22 changed files with 6 additions and 201 deletions

View File

@ -320,14 +320,6 @@
void sam_sram_initialize(void);
#endif
/************************************************************************************
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
/****************************************************************************
* Name: sam_sdinitialize
*

View File

@ -111,17 +111,6 @@
* Public Functions
************************************************************************************/
/************************************************************************************
* Name: board_led_initializeialize
*
* Description:
* Configure on-board LEDs if LED support has been selected.
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
extern void board_led_initializeialize(void);
#endif
#endif /* __ASSEMBLY__ */
#endif /* _CONFIGS_AVR32DEV1_SRC_AVR32DEV1_INTERNAL_H */

View File

@ -63,17 +63,6 @@
/************************************************************************************
* Public Functions
************************************************************************************/
/************************************************************************************
* Name: board_led_initialize
*
* Description:
* Configure and initialize on-board LEDs
*
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
extern void board_led_initialize(void);
#endif
/************************************************************************************
* Name: hcs12_spiinitialize

View File

@ -48,7 +48,7 @@
#include "tiva_gpio.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/* How many SSI modules does this chip support? The LM3S6918 supports 2 SSI
@ -87,18 +87,6 @@
void weak_function lm_ssiinitialize(void);
/****************************************************************************
* Name: board_led_initialize
*
* Description:
* Initialize on-board LEDs.
*
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_EAGLE100_SRC_EAGLE100_INTERNAL_H */

View File

@ -91,12 +91,4 @@
* Public Function Prototypes
****************************************************************************/
/****************************************************************************
* Name: board_led_initialize
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
#endif /* __CONFIGS_EFM32_G8XX_STK_SRC_EFM32_G8XX_STK_H */

View File

@ -89,12 +89,4 @@
* Public Function Prototypes
****************************************************************************/
/****************************************************************************
* Name: board_led_initialize
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
#endif /* __CONFIGS_EFM32GG_STK3700_SRC_EFM32GG_STK3700_H */

View File

@ -158,18 +158,6 @@
* Public Functions
************************************************************************************/
/************************************************************************************
* Name: board_led_initialize
*
* Description:
* Initialize LED GPIOs so that LEDs can be controlled.
*
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
extern void board_led_initialize(void);
#endif
/************************************************************************************
* Name: kinetis_spiinitialize
*

View File

@ -177,17 +177,6 @@
/************************************************************************************
* Public Functions
************************************************************************************/
/************************************************************************************
* Name: board_led_initialize
*
* Description:
* Configure and initialize on-board LEDs
*
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
extern void board_led_initialize(void);
#endif
/************************************************************************************
* Name: hcs12_spiinitialize

View File

@ -307,18 +307,6 @@ void stm32_spiinitialize(void);
void stm32_usbinitialize(void);
/****************************************************************************
* Name: board_led_initialize
*
* Description:
* Initialize LED GPIO outputs
*
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
/************************************************************************************
* Name: board_adc_initialize
*

View File

@ -205,16 +205,6 @@ int lpc31_usbhost_initialize(void);
int lpc31_mmcsd_initialize(int slot, int minor)
#endif
/****************************************************************************
* Name: board_led_initialize
*
* Description:
* Configure LEDs. LEDs are left in the OFF state.
*
****************************************************************************/
void board_led_initialize(void);
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_OLIMEX_LPC_H3131_SRC_LPC_H3131_H */

View File

@ -235,14 +235,6 @@ int weak_function sam_hsmciinit(void);
# define sam_hsmciinit()
#endif
/************************************************************************************
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
/************************************************************************************
* Name: sam_cardinserted
*

View File

@ -459,15 +459,5 @@ int sam_at25_automount(int minor);
# define sam_at25_automount(minor) (-ENOSYS)
#endif
/************************************************************************************
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#else
# define board_led_initialize()
#endif
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_SAM4E_EK_SRC_SAM4E_EK_H */

View File

@ -358,14 +358,6 @@ int sam_sdinitialize(int minor);
int sam_slcd_initialize(void);
#endif
/************************************************************************************
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_SAM4L_XPLAINED_SRC_SAM4L_XPLAINED_H */

View File

@ -175,14 +175,6 @@
* Public Functions
************************************************************************************/
/************************************************************************************
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
/************************************************************************************
* Name: sam_hsmci_initialize
*

View File

@ -135,14 +135,6 @@
void sam_sram_initialize(void);
#endif
/************************************************************************************
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_SAM4S_XPLAINED_SRC_SAM4S_XPLAINED_H */

View File

@ -733,14 +733,6 @@ int sam_usbhost_initialize(void);
void weak_function sam_netinitialize(void);
#endif
/************************************************************************************
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
/************************************************************************************
* Name: nsh_archinitialize
*

View File

@ -843,14 +843,6 @@ void weak_function sam_netinitialize(void);
int sam_wm8904_initialize(int minor);
#endif /* HAVE_WM8904 */
/************************************************************************************
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
/************************************************************************************
* Name: nsh_archinitialize
*

View File

@ -1068,14 +1068,6 @@ int sam_usbhost_initialize(void);
void weak_function sam_netinitialize(void);
#endif
/************************************************************************************
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
/************************************************************************************
* Name: nsh_archinitialize
*

View File

@ -259,14 +259,6 @@ void weak_function sam_spiinitialize(void);
int sam_sdinitialize(int port, int minor);
#endif
/************************************************************************************
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void);
#endif
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_SAMD20_XPLAINED_SRC_SAMD20_XPLAINED_H */

View File

@ -43,15 +43,19 @@
************************************************************************************/
#include <nuttx/config.h>
#ifndef __ASSEMBLY__
# include <stdint.h>
#endif
#include <nuttx/board.h>
#include "stm32_rcc.h"
#include "stm32_sdio.h"
#include "stm32.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/* Clocking *************************************************************************/

View File

@ -272,18 +272,6 @@
* Public Functions
************************************************************************************/
/************************************************************************************
* Name: board_led_initialize
*
* Description:
* Initialize LED GPIOs so that LEDs can be controlled.
*
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
extern void board_led_initialize(void);
#endif
/************************************************************************************
* Name: kinetis_spiinitialize
*

View File

@ -325,16 +325,6 @@ void weak_function stm32_usbdev_initialize(void);
int stm32_sdinitialize(int minor);
/************************************************************************************
* Name: board_led_initialize
*
* Description:
* Configure LEDs. LEDs are left in the OFF state.
*
************************************************************************************/
void stm32_ledinit(void);
/************************************************************************************
* Name: stm32_mpl115ainitialize
*