Rename board_led_initialize to board_autoled_initiaize

This commit is contained in:
Gregory Nutt
2015-11-01 09:04:02 -06:00
parent e772c56ef6
commit 148d5fcffd
3 changed files with 7 additions and 7 deletions
+1 -1
Submodule arch updated: 47cd8e4cd2...848fedb13d
+1 -1
Submodule configs updated: b782406b1e...2ae6dba193
+5 -5
View File
@@ -362,7 +362,7 @@ void board_lcd_uninitialize(void);
#endif #endif
/**************************************************************************** /****************************************************************************
* Name: board_led_initialize * Name: board_autoled_initialize
* *
* Description: * Description:
* This functions is called very early in initialization to perform board- * This functions is called very early in initialization to perform board-
@@ -370,12 +370,12 @@ void board_lcd_uninitialize(void);
* things as, for example, configure GPIO pins to drive the LEDs and also * things as, for example, configure GPIO pins to drive the LEDs and also
* putting the LEDs in their correct initial state. * putting the LEDs in their correct initial state.
* *
* NOTE: In most architectures, board_led_initialize() is called from * NOTE: In most architectures, board_autoled_initialize() is called from
* board-specific initialization logic. But there are a few architectures * board-specific initialization logic. But there are a few architectures
* where this initialization function is still called from common chip * where this initialization function is still called from common chip
* architecture logic. This interface is not, however, a common board * architecture logic. This interface is not, however, a common board
* interface in any event and, hence, the usage of the name * interface in any event and, hence, the usage of the name
* board_led_initialize is deprecated. * board_autoled_initialize is deprecated.
* *
* WARNING: This interface name will eventually be removed; do not use it * WARNING: This interface name will eventually be removed; do not use it
* in new board ports. New implementations should use the naming * in new board ports. New implementations should use the naming
@@ -391,9 +391,9 @@ void board_lcd_uninitialize(void);
****************************************************************************/ ****************************************************************************/
#ifdef CONFIG_ARCH_LEDS #ifdef CONFIG_ARCH_LEDS
void board_led_initialize(void); void board_autoled_initialize(void);
#else #else
# define board_led_initialize() # define board_autoled_initialize()
#endif #endif
/**************************************************************************** /****************************************************************************