mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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 <[email protected]> Signed-off-by: Chris Ball <[email protected]>
6 lines
184 B
C
6 lines
184 B
C
#include <linux/module.h>
|
|
#include <linux/mmc/sdhci-pci-data.h>
|
|
|
|
struct sdhci_pci_data *(*sdhci_pci_get_data)(struct pci_dev *pdev, int slotno);
|
|
EXPORT_SYMBOL_GPL(sdhci_pci_get_data);
|