ppa/fm/qe: use block layer in ppa/fm/qe driver
authorYinbo Zhu <yinbo.zhu@nxp.com>
Tue, 25 Sep 2018 06:47:06 +0000 (14:47 +0800)
committerYork Sun <york.sun@nxp.com>
Thu, 27 Sep 2018 15:48:51 +0000 (08:48 -0700)
commitc3ced8a6ede69f3f690173def04534eb8a58b93d
tree2269d1f1852f4b1f21bcf20fba5a49e8ebd564ff
parent9dc8d155d4e88563f572ee79aab758eb4272f3fd
ppa/fm/qe: use block layer in ppa/fm/qe driver

At present the MMC subsystem maintains its own list of MMC devices.
This cannot work with driver model when CONFIG_BLK is enabled, use
blk_dread to replace previous mmc read interface, use
mmc_get_blk_desc to get the mmc device property.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
[York S: reformatted commit message]
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/ppa.c
drivers/net/fm/fm.c
drivers/qe/qe.c