summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index 6d52ce9f754..06909380468 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -27,6 +27,8 @@
#define __SDHCI_HW_H
#include <asm/io.h>
+#include <mmc.h>
+
/*
* Controller registers
*/
@@ -214,6 +216,9 @@
*/
#define SDHCI_QUIRK_32BIT_DMA_ADDR (1 << 0)
+/* to make gcc happy */
+struct sdhci_host;
+
/*
* Host SDMA buffer boundary. Valid values from 4K to 512K in powers of 2.
*/
@@ -236,6 +241,7 @@ struct sdhci_host {
unsigned int quirks;
unsigned int version;
unsigned int clock;
+ struct mmc *mmc;
const struct sdhci_ops *ops;
};