From 5c105d9f3fd086aff195d3849dcf847d6b0bd927 Mon Sep 17 00:00:00 2001 From: blogic Date: Fri, 5 Oct 2012 10:12:53 +0000 Subject: branch Attitude Adjustment git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33625 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...status-IRQ-and-status-callback-function-to.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target/linux/goldfish/patches-2.6.30/0093-mmc-Add-status-IRQ-and-status-callback-function-to.patch (limited to 'target/linux/goldfish/patches-2.6.30/0093-mmc-Add-status-IRQ-and-status-callback-function-to.patch') diff --git a/target/linux/goldfish/patches-2.6.30/0093-mmc-Add-status-IRQ-and-status-callback-function-to.patch b/target/linux/goldfish/patches-2.6.30/0093-mmc-Add-status-IRQ-and-status-callback-function-to.patch new file mode 100644 index 000000000..8fb7ade2d --- /dev/null +++ b/target/linux/goldfish/patches-2.6.30/0093-mmc-Add-status-IRQ-and-status-callback-function-to.patch @@ -0,0 +1,21 @@ +From 2cae40a6a76e9e440f146ce0402aed40a7c127ca Mon Sep 17 00:00:00 2001 +From: San Mehat +Date: Mon, 10 Nov 2008 16:29:50 -0800 +Subject: [PATCH 093/134] mmc: Add status IRQ and status callback function to mmc platform data + +Signed-off-by: San Mehat +--- + arch/arm/include/asm/mach/mmc.h | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +--- a/arch/arm/include/asm/mach/mmc.h ++++ b/arch/arm/include/asm/mach/mmc.h +@@ -10,6 +10,8 @@ struct mmc_platform_data { + unsigned int ocr_mask; /* available voltages */ + u32 (*translate_vdd)(struct device *, unsigned int); + unsigned int (*status)(struct device *); ++ unsigned int status_irq; ++ int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id); + }; + + #endif -- cgit v1.2.3