• Adrian Hunter's avatar
    mmc: sdhci-pci: add platform data · 52c506f0
    Adrian Hunter authored
    Add a means of getting platform data for the SDHCI PCI
    devices.  The data is stored against the slot not the
    device in order to support multi-slot devices.
    
    The data allows platform-specific setup (such as getting
    GPIO numbers from firmware or setting up wl12xx for SDIO)
    to be done in platform support files instead of the
    sdhci-pci driver.
    Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
    Signed-off-by: default avatarChris Ball <cjb@laptop.org>
    52c506f0
sdhci-pci.c 34.6 KB