From 895c0bee6e9621c4d87cf1b408b210682a748c5b Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sun, 26 May 2013 15:22:14 +0200 Subject: mci: embed mci device into struct mci To safe a separate allocation and to make the code simpler. Signed-off-by: Sascha Hauer --- include/mci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mci.h') 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; -- cgit v1.2.3