mmc: sdhci-acpi: Let devices define their own private data
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 19 Oct 2017 10:41:45 +0000 (13:41 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 2 Nov 2017 14:20:27 +0000 (15:20 +0100)
commitf07b7952df3b3ff014e83952b402425cf50c51ce
tree746b03e5cb6cbff099e34e1d18e8211c27b298a0
parent6b10c9abfbceaf94ef227d98317020c557996186
mmc: sdhci-acpi: Let devices define their own private data

Let devices define their own private data to facilitate device-specific
operations. The size of the private structure is specified in the
sdhci_acpi_slot structure, then sdhci_acpi_probe() will allocate extra
space for it, and sdhci_acpi_priv() can be used to get a reference to it.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-acpi.c