diff options
author | Alessandro Rubini <rubini-list@gnudd.com> | 2009-07-17 14:42:11 +0200 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2009-07-18 10:17:53 +0200 |
commit | 6aee3048348f1b19ab89156da98bfa4f7babf24b (patch) | |
tree | 4826f2364877b16af9618b9bdfa24545eacaf464 /include | |
parent | bfadb17f69c256196620c32164775f063a59c34f (diff) | |
download | u-boot-imx-6aee3048348f1b19ab89156da98bfa4f7babf24b.zip u-boot-imx-6aee3048348f1b19ab89156da98bfa4f7babf24b.tar.gz u-boot-imx-6aee3048348f1b19ab89156da98bfa4f7babf24b.tar.bz2 |
cmd_i2c: bugfix: add missing brace
The sub-command parser missed a brace, so "return 0;" is always
taken and no error message is diplayed if you say "i2c scan"
instead of "i2c probe", for example.
Proper brace is added. Also, a misleading and unneeded else
is removed.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com.it>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions