]> git.baikalelectronics.ru Git - uboot.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)
commit2bf799a3101332f19e2e7869608b9eeae6e8bc3b
tree6ac1c7ef295545f9e077a91263a2dbb44c74644a
parent666cc86539566354c9ee32185173c5839b7a1261
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