summaryrefslogtreecommitdiffstats
path: root/include/mci.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-08-10 14:51:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-15 09:48:03 +0200
commit31c88a6929778bf4dd2f1b1ef898dc3542a29949 (patch)
tree692436b142f79c79967814131a9ff932e5ed29b7 /include/mci.h
parentb7a3e559158af9c18a30d260f37aa0e4c6525cbc (diff)
downloadbarebox-31c88a6929778bf4dd2f1b1ef898dc3542a29949.tar.gz
barebox-31c88a6929778bf4dd2f1b1ef898dc3542a29949.tar.xz
mci: embed mci_dev into mci_host instead of allocating it seperately
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mci.h')
-rw-r--r--include/mci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mci.h b/include/mci.h
index 8c669ca0af..69cffe8d3f 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -194,6 +194,7 @@ struct mci_data {
/** host information */
struct mci_host {
struct device_d *hw_dev; /**< the host MCI hardware device */
+ struct device_d dev; /**< our device */
unsigned voltages;
unsigned host_caps; /**< Host's interface capabilities, refer MMC_VDD_* */
unsigned f_min; /**< host interface lower limit */