aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/sh_mobile_sdhi.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2011-08-26 04:42:39 -0400
committerChris Ball <cjb@laptop.org>2011-10-26 15:43:36 -0400
commitd5098cb63b3f13da2a2b230b3566ac7b5dfa4f28 (patch)
treeb1317ea1339a678b283a0213f5c6647a58099b33 /include/linux/mmc/sh_mobile_sdhi.h
parent7729c7a232a95360fa17ffe8beb1adb621bc0ba0 (diff)
mmc: sdhi: Allow named IRQs to use specific handlers
Allow named IRQs to use corresponding specific handlers. If named IRQs are used, at least an "sdcard" IRQ has to be specified by the platform. If names are not used, an arbitrary number of IRQs can be provided by the platform, in which case the generic ISR will be used for each of them. Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au> [g.liakhovetski@gmx.de: style and typo corrections, platform data check] Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc/sh_mobile_sdhi.h')
-rw-r--r--include/linux/mmc/sh_mobile_sdhi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mmc/sh_mobile_sdhi.h b/include/linux/mmc/sh_mobile_sdhi.h
index bd50b365167f..71b805451bd8 100644
--- a/include/linux/mmc/sh_mobile_sdhi.h
+++ b/include/linux/mmc/sh_mobile_sdhi.h
@@ -6,6 +6,10 @@
6struct platform_device; 6struct platform_device;
7struct tmio_mmc_data; 7struct tmio_mmc_data;
8 8
9#define SH_MOBILE_SDHI_IRQ_CARD_DETECT "card_detect"
10#define SH_MOBILE_SDHI_IRQ_SDCARD "sdcard"
11#define SH_MOBILE_SDHI_IRQ_SDIO "sdio"
12
9struct sh_mobile_sdhi_info { 13struct sh_mobile_sdhi_info {
10 int dma_slave_tx; 14 int dma_slave_tx;
11 int dma_slave_rx; 15 int dma_slave_rx;