summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2009-12-07 18:01:10 -0800
committerGary King <gking@nvidia.com>2009-12-07 21:40:18 -0800
commit3d75c203e23751cb8201371d82e6236a58a2d2ca (patch)
treef11f308ec2dd770eda79190a44da5c57481db1e6 /include
parent4d0aa11e0bd9715b33645abc2bb2c9401e2e6d1b (diff)
mmc: Add CONFIG_EMBEDDED_MMC_START_OFFSET configuration
enables platforms to specify a non-zero offset for the MBR and kernel-visible file systems, for embedded systems which store proprietary data at the start of the eMMC device.
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 7d41efcd7c33..62bfc01ed2d7 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -77,6 +77,9 @@ struct mmc_host_ops {
int (*get_cd)(struct mmc_host *host);
void (*enable_sdio_irq)(struct mmc_host *host, int enable);
+#ifdef CONFIG_EMBEDDED_MMC_START_OFFSET
+ unsigned int (*get_host_offset)(struct mmc_host *host);
+#endif
};
struct mmc_card;