mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 20:11:32 +00:00
led: correct off/on locations in structure
Although the initialization should probably be done with names, the existing implementation has these structures filled in the opposite order. Signed-off-by: Jason Kridner <jkridner@beagleboard.org> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
This commit is contained in:
parent
4421acf8cd
commit
4086b51cb7
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@
|
||||||
struct led_tbl_s {
|
struct led_tbl_s {
|
||||||
char *string; /* String for use in the command */
|
char *string; /* String for use in the command */
|
||||||
led_id_t mask; /* Mask used for calling __led_set() */
|
led_id_t mask; /* Mask used for calling __led_set() */
|
||||||
void (*on)(void); /* Optional fucntion for turning LED on */
|
void (*off)(void); /* Optional function for turning LED off */
|
||||||
void (*off)(void); /* Optional fucntion for turning LED on */
|
void (*on)(void); /* Optional function for turning LED on */
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct led_tbl_s led_tbl_t;
|
typedef struct led_tbl_s led_tbl_t;
|
||||||
|
|
Loading…
Add table
Reference in a new issue