]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0019dbb3f40423b82b892ee562976eef75f36070
tree2c46fdd2ce9ac582846733ed60f12caea2856196
parent0bfa7534211a317f3ef19a9d0deb5b1b38ed2334
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]