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:
2643e53
)
mmc: Add status IRQ and status callback function to mmc platform data
author
San Mehat
<san@google.com>
Tue, 11 Nov 2008 00:29:50 +0000
(16:29 -0800)
committer
John Stultz
<john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:02 +0000
(13:51 -0800)
Signed-off-by: San Mehat <san@google.com>
include/linux/amba/mmci.h
patch
|
blob
|
history
diff --git
a/include/linux/amba/mmci.h
b/include/linux/amba/mmci.h
index 8c98113069ce9264a2bdf2fe7ae10198ceed0b9d..0fbd47eddf20512b91d441ae1fbbe143ca35dbcf 100644
(file)
--- a/
include/linux/amba/mmci.h
+++ b/
include/linux/amba/mmci.h
@@
-31,6
+31,9
@@
struct mmci_platform_data {
int gpio_wp;
int gpio_cd;
bool cd_invert;
+ unsigned int status_irq;
+ int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id);
+
};
#endif