author | Stephen Warren <swarren@nvidia.com> | |
Fri, 21 Sep 2012 09:50:56 +0000 (09:50 +0000) | ||
committer | Tom Rini <trini@ti.com> | |
Tue, 25 Sep 2012 21:49:33 +0000 (14:49 -0700) | ||
commit | 2023e60861283ee808950a558e14b45be8776bf4 | |
tree | a8ddbbf0fdfd51fb59f26f460626eaa44d584a05 | tree | snapshot (tar.xz tar.gz zip) |
parent | 650f36641ccfe1c2444277891da7c76cdde99f8b | commit | diff |
disk: introduce get_device()
This patch introduces function get_device(). This looks up a
block_dev_desc_t from an interface name (e.g. mmc) and device number
(e.g. 0). This function is essentially the non-partition-specific
prefix of get_device_and_partition().
Signed-off-by: Stephen Warren <swarren@nvidia.com>
This patch introduces function get_device(). This looks up a
block_dev_desc_t from an interface name (e.g. mmc) and device number
(e.g. 0). This function is essentially the non-partition-specific
prefix of get_device_and_partition().
Signed-off-by: Stephen Warren <swarren@nvidia.com>
disk/part.c | diff | blob | history | |
include/part.h | diff | blob | history |