summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2008-01-07 14:29:02 +0800
committerPierre Ossman <drzeus@drzeus.cx>2008-02-08 09:02:47 +0100
commit541ceb5b8b4a90f7862ef24e4058fce520247827 (patch)
tree4c2c2d391ef570fc9705e014a37dbc35f4c51a1d /drivers/mmc/host/sdhci.h
parent11b295c8b2934e1a9275961418e2c4f46ee674ac (diff)
downloadblackbird-op-linux-541ceb5b8b4a90f7862ef24e4058fce520247827.tar.gz
blackbird-op-linux-541ceb5b8b4a90f7862ef24e4058fce520247827.zip
sdhci: add num index for multi controllers case
Some devices have several controllers; need add the index info to device slot name host->slot_desc[] Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r--drivers/mmc/host/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index e4d77b038bfa..d5a38f1b755a 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -208,6 +208,7 @@ struct sdhci_chip {
unsigned long quirks;
+ int index; /* Index for chip0, chip1 ...*/
int num_slots; /* Slots on controller */
struct sdhci_host *hosts[0]; /* Pointers to hosts */
};
OpenPOWER on IntegriCloud