From 3d75c203e23751cb8201371d82e6236a58a2d2ca Mon Sep 17 00:00:00 2001 From: Gary King Date: Mon, 7 Dec 2009 18:01:10 -0800 Subject: 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. --- include/linux/mmc/host.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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; -- cgit v1.2.3