]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: mmc: Allow sandbox emulator to build without writes
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:58 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commit372a7d925b3b7611bea7df04e7dc01b8b9854a3c
tree6ac1c7ef295545f9e077a91263a2dbb44c74644a
parent879a9416d1e7197f99f428edc1c32bf59e6e8d3b
dm: mmc: Allow sandbox emulator to build without writes

When MMC_WRITE is disabled this driver produced a build error. Fix this.

Also update a comment while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/sandbox_mmc.c