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>
This commit is contained in:
Feng Tang
2008-01-07 14:29:02 +08:00
committed by Pierre Ossman
parent 11b295c8b2
commit 541ceb5b8b
2 changed files with 13 additions and 1 deletions

View File

@ -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 */
};