diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-29 16:49:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-17 08:42:32 +0100 |
commit | 30eb68037835061a4003a7a279b15a1e78c6d4ac (patch) | |
tree | db55293b9c718cfdd832f536d114c8e1001eb90a /include/mci.h | |
parent | f3468dc387f2a1f3a4ae5f9a921ba6b3d2c31ab5 (diff) | |
download | barebox-30eb68037835061a4003a7a279b15a1e78c6d4ac.tar.gz barebox-30eb68037835061a4003a7a279b15a1e78c6d4ac.tar.xz |
mci: Allow to specify device name
When multiple MMC/SD cards are present in the system we often
have to have persistent names to identify them during runtime.
This patch allows to overwrite the devicename which is used.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mci.h')
-rw-r--r-- | include/mci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mci.h b/include/mci.h index db78b9cfe6..0041e2714f 100644 --- a/include/mci.h +++ b/include/mci.h @@ -286,6 +286,7 @@ struct mci_ios { /** host information */ struct mci_host { struct device_d *hw_dev; /**< the host MCI hardware device */ + char *devname; /**< the devicename for the card, defaults to disk%d */ unsigned voltages; unsigned host_caps; /**< Host's interface capabilities, refer MMC_VDD_* */ unsigned f_min; /**< host interface lower limit */ |