commit | 2023e60861283ee808950a558e14b45be8776bf4 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Fri Sep 21 09:50:56 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Sep 25 14:49:33 2012 -0700 |
tree | a8ddbbf0fdfd51fb59f26f460626eaa44d584a05 | |
parent | 650f36641ccfe1c2444277891da7c76cdde99f8b [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>