diff options
author | Jason Kridner <jkridner@beagleboard.org> | 2011-04-20 18:13:49 -0500 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-04 11:36:22 +0200 |
commit | 4086b51cb7eac451f96130affbc17094a9e7b75a (patch) | |
tree | e313b774357350451809042e42955bc852b3e90a /common/cmd_led.c | |
parent | 4421acf8cdc2afed48f430e4a88eff39df86c0dc (diff) | |
download | u-boot-imx-4086b51cb7eac451f96130affbc17094a9e7b75a.zip u-boot-imx-4086b51cb7eac451f96130affbc17094a9e7b75a.tar.gz u-boot-imx-4086b51cb7eac451f96130affbc17094a9e7b75a.tar.bz2 |
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>
Diffstat (limited to 'common/cmd_led.c')
-rw-r--r-- | common/cmd_led.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_led.c b/common/cmd_led.c index 8b46848..d14dd5a 100644 --- a/common/cmd_led.c +++ b/common/cmd_led.c @@ -34,8 +34,8 @@ struct led_tbl_s { char *string; /* String for use in the command */ led_id_t mask; /* Mask used for calling __led_set() */ - void (*on)(void); /* Optional fucntion for turning LED on */ - void (*off)(void); /* Optional fucntion for turning LED on */ + void (*off)(void); /* Optional function for turning LED off */ + void (*on)(void); /* Optional function for turning LED on */ }; typedef struct led_tbl_s led_tbl_t; |