projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9938b02
)
ARM: Add 'card_present' state to mmc_platfrom_data
author
Dmitry Shmidt
<dimitrysh@google.com>
Tue, 3 May 2011 18:05:04 +0000
(11:05 -0700)
committer
Colin Cross
<ccross@android.com>
Tue, 14 Jun 2011 16:09:58 +0000
(09:09 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
arch/arm/include/asm/mach/mmc.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/mach/mmc.h
b/arch/arm/include/asm/mach/mmc.h
index f8d391ad92037085457ddfdfdb832232bb0cb28c..bca864ac945f60c20a41fa7b888d64244d6fd213 100644
(file)
--- a/
arch/arm/include/asm/mach/mmc.h
+++ b/
arch/arm/include/asm/mach/mmc.h
@@
-18,6
+18,7
@@
struct embedded_sdio_data {
struct mmc_platform_data {
unsigned int ocr_mask; /* available voltages */
int built_in; /* built-in device flag */
+ int card_present; /* card detect state */
u32 (*translate_vdd)(struct device *, unsigned int);
unsigned int (*status)(struct device *);
struct embedded_sdio_data *embedded_sdio;