This little series fixes a compiler warning in SPL MMC which affects Rockchip. It also joins up the spl_mmc_find_device() function again. I feel that splitting the function was the wrong approach as discussed here:
https://patchwork.ozlabs.org/patch/537276/ The first patch fixes the warning. The other two are suggested improvements but are separate from that problem. Changes in v3: - Move the NULL assignment to the caller Changes in v2: - Fix the warning in the commit message (it was the wrong one) Simon Glass (3): spl: mmc: Fix compiler warning with CONFIG_DM_MMC spl: mmc: Rename 'mmc' variable to 'mmcp' spl: mmc: Unify non/driver model spl_mmc_find_device() common/spl/spl_mmc.c | 45 +++++++++++---------------------------------- 1 file changed, 11 insertions(+), 34 deletions(-) -- 2.6.0.rc2.230.g3dd15c0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot