]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: mmc: Move mmc_switch_part() above its callers
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:52:25 +0000 (13:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commitff3882ac23fcfda81284f372924063036bea507b
treeabddc2cd94d9bc6edb86c7f2345edee33542fcca
parentd0773524e18d2439390c88611b49f23ca46a82be
dm: mmc: Move mmc_switch_part() above its callers

This function is defined after it is used. In preparation for making it
static, move it up a little. Also drop the printf() which should not appear
in a driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc.c