add the 'goldfish' target, useful for experimenting with virtual phone hardware ...
[openwrt/svn-archive/archive.git] / target / linux / goldfish / patches-2.6.30 / 0093-mmc-Add-status-IRQ-and-status-callback-function-to.patch
1 From 2cae40a6a76e9e440f146ce0402aed40a7c127ca Mon Sep 17 00:00:00 2001
2 From: San Mehat <san@google.com>
3 Date: Mon, 10 Nov 2008 16:29:50 -0800
4 Subject: [PATCH 093/134] mmc: Add status IRQ and status callback function to mmc platform data
5
6 Signed-off-by: San Mehat <san@google.com>
7 ---
8 arch/arm/include/asm/mach/mmc.h | 2 ++
9 1 files changed, 2 insertions(+), 0 deletions(-)
10
11 --- a/arch/arm/include/asm/mach/mmc.h
12 +++ b/arch/arm/include/asm/mach/mmc.h
13 @@ -10,6 +10,8 @@ struct mmc_platform_data {
14 unsigned int ocr_mask; /* available voltages */
15 u32 (*translate_vdd)(struct device *, unsigned int);
16 unsigned int (*status)(struct device *);
17 + unsigned int status_irq;
18 + int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id);
19 };
20
21 #endif