]> git.baikalelectronics.ru Git - uboot.git/commit
spl: mmc: fix switch statement
authorMax Krummenacher <max.oss.09@gmail.com>
Tue, 1 Nov 2016 14:04:20 +0000 (15:04 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 29 Nov 2016 15:33:03 +0000 (16:33 +0100)
commitb625cb443eeeeb294978411317f5c1b89d0e5375
treef46feb784b2bd5403622d89d365d0374cad5c250
parentfec6b9d5652fb6dee5c78eb08017e9b4ad9b0c1c
spl: mmc: fix switch statement

If CONFIG_SPL_LIBCOMMON_SUPPORT is not defined there is a lone case statement
at the end of the switch leading to a compile error.
Remove the offending case statement.

| common/spl/spl_mmc.c:339:7: error: label at end of compound statement

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Marek Vasut <marex@denx.de>
common/spl/spl_mmc.c