]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/Makefile
mmc: sdhci-pci: add platform data
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 27 Dec 2011 13:48:43 +0000 (15:48 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 12 Jan 2012 04:58:47 +0000 (23:58 -0500)
commit52c506f0bc72530fb786838e7ffd4f158a2e5c3a
tree2c46fdd2ce9ac582846733ed60f12caea2856196
parentc79396c191bc19703df6eb6bbd0f673ed0df6c9d
mmc: sdhci-pci: add platform data

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: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/Makefile
drivers/mmc/Makefile
drivers/mmc/host/Makefile
drivers/mmc/host/sdhci-pci-data.c [new file with mode: 0644]
drivers/mmc/host/sdhci-pci.c
include/linux/mmc/sdhci-pci-data.h [new file with mode: 0644]