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:
@ -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 */
|
||||
};
|
||||
|
Reference in New Issue
Block a user