summaryrefslogtreecommitdiffstats
path: root/include/mci.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-05-26 15:22:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-05-30 12:18:28 +0200
commit895c0bee6e9621c4d87cf1b408b210682a748c5b (patch)
tree3012a1e6c722f7074b2ba2d942870ad3f34720cc /include/mci.h
parentc68feb4b4ee5e0b9f8729971ad73215d6317ebee (diff)
downloadbarebox-895c0bee6e9621c4d87cf1b408b210682a748c5b.tar.gz
barebox-895c0bee6e9621c4d87cf1b408b210682a748c5b.tar.xz
mci: embed mci device into struct mci
To safe a separate allocation and to make the code simpler. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mci.h')
-rw-r--r--include/mci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mci.h b/include/mci.h
index 173598655f..1eb967d739 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -330,7 +330,7 @@ struct mci_part {
/** MMC/SD and interface instance information */
struct mci {
struct mci_host *host; /**< the host for this card */
- struct device_d *mci_dev; /**< the device for our disk (mcix) */
+ struct device_d dev; /**< the device for our disk (mcix) */
unsigned version;
/** != 0 when a high capacity card is connected (OCR -> OCR_HCS) */
int high_capacity;