summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2013-03-05 11:24:52 +0800
committerChris Ball <cjb@laptop.org>2013-03-22 12:26:54 -0400
commiteed222aca8d077af3600b651176f6fd04d95cce1 (patch)
tree741ebe379dda6cf1eaf9632812b2e9febc6fccb7 /include/linux/mmc
parent94144a465dd0b34b3249f988a09472d0f57ad2b7 (diff)
downloadblackbird-op-linux-eed222aca8d077af3600b651176f6fd04d95cce1.tar.gz
blackbird-op-linux-eed222aca8d077af3600b651176f6fd04d95cce1.zip
mmc: sdio: bind acpi with sdio function device
ACPI spec 5 defined the _ADR encoding for sdio bus as: High word - slot number (0 based) Low word - function number This patch adds support for binding sdio function device with acpi node, and if successful, involve acpi into its power management. Signed-off-by: Aaron Lu <aaron.lu@intel.com> Reviewed-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index d6f20cc6415e..17d714801e94 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -361,6 +361,8 @@ struct mmc_host {
unsigned int actual_clock; /* Actual HC clock rate */
+ unsigned int slotno; /* used for sdio acpi binding */
+
unsigned long private[0] ____cacheline_aligned;
};
OpenPOWER on IntegriCloud