]> git.sur5r.net Git - u-boot/commit
block: ide: Fix build error when CONFIG_BLK is on
authorBin Meng <bmeng.cn@gmail.com>
Mon, 31 Jul 2017 02:24:00 +0000 (19:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 1 Aug 2017 12:17:02 +0000 (20:17 +0800)
commit52a1c2c68b40354b82fbd651cdcf212f20fd5486
treebb2a1129a7b1e448b5e2f7af09e853ec240ea9f1
parenta5c680fe1042d2e13efeb12af076f4bd1ad1b82d
block: ide: Fix build error when CONFIG_BLK is on

Add missing #ifndef CONFIG_BLK to wrap dev_desc->block_read.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/block/ide.c