summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat
diff options
context:
space:
mode:
authorBanajit Goswami <banajit.g@samsung.com>2011-08-18 20:32:01 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-09-16 15:43:15 +0900
commit5e8e0a109e3c1b08c1407c615684bb9981aca28f (patch)
treee3e685d8bdd9ddcaafd23ade8fe8266256e3150d /arch/arm/plat-samsung/include/plat
parent3e461977d1aff9b4d1785815f4eb2098657a0500 (diff)
downloadtalos-op-linux-5e8e0a109e3c1b08c1407c615684bb9981aca28f.tar.gz
talos-op-linux-5e8e0a109e3c1b08c1407c615684bb9981aca28f.zip
ARM: SAMSUNG: Consolidate common function to set SDHCI plat data
Moves similar functions to set SDHCI platform data for all Samsung boards to a common location, thereby saves a few lines. Signed-off-by: Banajit Goswami <banajit.g@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat')
-rw-r--r--arch/arm/plat-samsung/include/plat/sdhci.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/sdhci.h b/arch/arm/plat-samsung/include/plat/sdhci.h
index 058e09654fe8..4a6552066c7e 100644
--- a/arch/arm/plat-samsung/include/plat/sdhci.h
+++ b/arch/arm/plat-samsung/include/plat/sdhci.h
@@ -86,6 +86,13 @@ struct s3c_sdhci_platdata {
struct mmc_card *card);
};
+/* s3c_sdhci_set_platdata() - common helper for setting SDHCI platform data
+ * @pd: The default platform data for this device.
+ * @set: Pointer to the platform data to fill in.
+ */
+extern void s3c_sdhci_set_platdata(struct s3c_sdhci_platdata *pd,
+ struct s3c_sdhci_platdata *set);
+
/**
* s3c_sdhci0_set_platdata - Set platform data for S3C SDHCI device.
* @pd: Platform data to register to device.
OpenPOWER on IntegriCloud