]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: blk: conditionally disable functions that don't play well with CONFIG_DM_MMC
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 8 Mar 2017 14:50:47 +0000 (15:50 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 13 Mar 2017 15:36:19 +0000 (16:36 +0100)
commit12e63da3e08e72c04250cbdbed3f2cb53aed7fff
tree2c9cdf1b51a12a24b6b241b1ecbf56773dbf1c7e
parentfbc3056d13d4102e7d553d065618fdfcacc0917b
dm: blk: conditionally disable functions that don't play well with CONFIG_DM_MMC

blk_{read|write}_devnum() don't work with CONFIG_DM_MMC enabled.
Prevent use under these circumstances by making the function
definition depend on !CONFIG_DM_MMC
drivers/block/blk-uclass.c