summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/include/mach/mmc.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-12-11 20:46:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-11 20:46:51 -0800
commitc4e194e3b71ff4fed01d727c32ee1071921d28a3 (patch)
treef3d237e46ee08c15693e14c15ed1f93c1946c560 /arch/arm/mach-msm/include/mach/mmc.h
parent2fe77b81c77eed92c4c0439f74c8148a295b4a86 (diff)
parent3989d17847071fa94c93299805a9cca27cf65d26 (diff)
downloadlwn-c4e194e3b71ff4fed01d727c32ee1071921d28a3.tar.gz
lwn-c4e194e3b71ff4fed01d727c32ee1071921d28a3.zip
Merge branch 'for-linus' of git://codeaurora.org/quic/kernel/dwalker/linux-msm
* 'for-linus' of git://codeaurora.org/quic/kernel/dwalker/linux-msm: HTC Dream: mmc compilation fixes video: Allow selecting MSM framebuffer in Kconfig Add arm msm maintainer entry msm: Add memory map for HTC Dream msm: add minimal board file for HTC Dream device msm: make debugging UART (for DEBUG_LL) configurable
Diffstat (limited to 'arch/arm/mach-msm/include/mach/mmc.h')
-rw-r--r--arch/arm/mach-msm/include/mach/mmc.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/include/mach/mmc.h b/arch/arm/mach-msm/include/mach/mmc.h
new file mode 100644
index 000000000000..0ecf25426284
--- /dev/null
+++ b/arch/arm/mach-msm/include/mach/mmc.h
@@ -0,0 +1,26 @@
+/*
+ * arch/arm/include/asm/mach/mmc.h
+ */
+#ifndef ASMARM_MACH_MMC_H
+#define ASMARM_MACH_MMC_H
+
+#include <linux/mmc/host.h>
+#include <linux/mmc/card.h>
+#include <linux/mmc/sdio_func.h>
+
+struct embedded_sdio_data {
+ struct sdio_cis cis;
+ struct sdio_cccr cccr;
+ struct sdio_embedded_func *funcs;
+ int num_funcs;
+};
+
+struct mmc_platform_data {
+ unsigned int ocr_mask; /* available voltages */
+ u32 (*translate_vdd)(struct device *, unsigned int);
+ unsigned int (*status)(struct device *);
+ struct embedded_sdio_data *embedded_sdio;
+ int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id);
+};
+
+#endif