commit | afd909c28fdf58495e4dd8ab2b136c98d96341a8 | [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 | 8d6ba0574d7c68ab0ddb22842546faa1dcb843ea [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>