diff options
author | Wolfgang Denk <wd@denx.de> | 2011-05-19 22:21:41 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-05-19 22:22:44 +0200 |
commit | cd6881b519c94b15907d4f28149e5ed3fd0beea5 (patch) | |
tree | 8a5dc395495cbaa422b1b6dc8193e2e9963d576b /common/cmd_led.c | |
parent | 4d69e98c068ed0d3533a61b64fe06d0d1b870aaf (diff) | |
download | u-boot-imx-cd6881b519c94b15907d4f28149e5ed3fd0beea5.zip u-boot-imx-cd6881b519c94b15907d4f28149e5ed3fd0beea5.tar.gz u-boot-imx-cd6881b519c94b15907d4f28149e5ed3fd0beea5.tar.bz2 |
Minor coding style cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/cmd_led.c')
-rw-r--r-- | common/cmd_led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_led.c b/common/cmd_led.c index f1e8a62..c53195f 100644 --- a/common/cmd_led.c +++ b/common/cmd_led.c @@ -96,7 +96,7 @@ int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) } for (i = 0; led_commands[i].string; i++) { - if ((strcmp("all", argv[1]) == 0) || + if ((strcmp("all", argv[1]) == 0) || (strcmp(led_commands[i].string, argv[1]) == 0)) { if (led_commands[i].on) { if (state) { |