aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mmc/sdhci-pltfm.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mmc/sdhci-pltfm.h b/include/linux/mmc/sdhci-pltfm.h
index 548d59d404cb..f1c2ac3fb300 100644
--- a/include/linux/mmc/sdhci-pltfm.h
+++ b/include/linux/mmc/sdhci-pltfm.h
@@ -15,21 +15,15 @@
15#define _SDHCI_PLTFM_H 15#define _SDHCI_PLTFM_H
16 16
17struct sdhci_ops; 17struct sdhci_ops;
18struct sdhci_host;
19 18
20/** 19/**
21 * struct sdhci_pltfm_data - SDHCI platform-specific information & hooks 20 * struct sdhci_pltfm_data - SDHCI platform-specific information & hooks
22 * @ops: optional pointer to the platform-provided SDHCI ops 21 * @ops: optional pointer to the platform-provided SDHCI ops
23 * @quirks: optional SDHCI quirks 22 * @quirks: optional SDHCI quirks
24 * @init: optional hook that is called during device probe, before the
25 * driver tries to access any SDHCI registers
26 * @exit: optional hook that is called during device removal
27 */ 23 */
28struct sdhci_pltfm_data { 24struct sdhci_pltfm_data {
29 struct sdhci_ops *ops; 25 struct sdhci_ops *ops;
30 unsigned int quirks; 26 unsigned int quirks;
31 int (*init)(struct sdhci_host *host, struct sdhci_pltfm_data *pdata);
32 void (*exit)(struct sdhci_host *host);
33}; 27};
34 28
35#endif /* _SDHCI_PLTFM_H */ 29#endif /* _SDHCI_PLTFM_H */