u-boot/disk
Simon Glass 2a981dc2c6 dm: block: Adjust device calls to go through helpers function
To ease conversion to driver model, add helper functions which deal with
calling each block device method. With driver model we can reimplement these
functions with the same arguments.

Use inline functions to avoid increasing code size on some boards.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
2016-03-14 15:34:50 -06:00
..
Makefile kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
part.c dm: block: Rename device number member dev to devnum 2016-03-14 15:34:50 -06:00
part_amiga.c dm: block: Adjust device calls to go through helpers function 2016-03-14 15:34:50 -06:00
part_amiga.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
part_dos.c dm: block: Adjust device calls to go through helpers function 2016-03-14 15:34:50 -06:00
part_dos.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
part_efi.c dm: block: Adjust device calls to go through helpers function 2016-03-14 15:34:50 -06:00
part_iso.c dm: block: Adjust device calls to go through helpers function 2016-03-14 15:34:50 -06:00
part_iso.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
part_mac.c dm: block: Adjust device calls to go through helpers function 2016-03-14 15:34:50 -06:00
part_mac.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00