diff options
author | Magnus Damm <damm@opensource.se> | 2011-05-06 07:02:33 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-24 23:53:52 -0400 |
commit | 8e7bfdb37ac001c95d2c768932b57de1019409cd (patch) | |
tree | 8b91c25442de01ce415563ae60ee30eb8d7e6e3c /drivers/mmc/host/tmio_mmc.h | |
parent | df3ef2d3c92c0a562ebde3699af7d12401fddf60 (diff) |
mmc: tmio/sdhi: break out interrupt request/free
Move request_irq()/free_irq() from the shared code
in tmio_mmc.c into the SDHI/tmio specific portion
in sh_mobile_sdhi.c and tmio_mmc_pio.c.
This is ground work to allow us to adjust the SDHI
code with IRQ flags and number of interupt sources.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
-rw-r--r-- | drivers/mmc/host/tmio_mmc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index 58138a203877..c6bf726c8f44 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h | |||
@@ -45,7 +45,6 @@ struct tmio_mmc_host { | |||
45 | struct mmc_request *mrq; | 45 | struct mmc_request *mrq; |
46 | struct mmc_data *data; | 46 | struct mmc_data *data; |
47 | struct mmc_host *mmc; | 47 | struct mmc_host *mmc; |
48 | int irq; | ||
49 | unsigned int sdio_irq_enabled; | 48 | unsigned int sdio_irq_enabled; |
50 | 49 | ||
51 | /* Callbacks for clock / power control */ | 50 | /* Callbacks for clock / power control */ |
@@ -86,6 +85,7 @@ void tmio_mmc_do_data_irq(struct tmio_mmc_host *host); | |||
86 | 85 | ||
87 | void tmio_mmc_enable_mmc_irqs(struct tmio_mmc_host *host, u32 i); | 86 | void tmio_mmc_enable_mmc_irqs(struct tmio_mmc_host *host, u32 i); |
88 | void tmio_mmc_disable_mmc_irqs(struct tmio_mmc_host *host, u32 i); | 87 | void tmio_mmc_disable_mmc_irqs(struct tmio_mmc_host *host, u32 i); |
88 | irqreturn_t tmio_mmc_irq(int irq, void *devid); | ||
89 | 89 | ||
90 | static inline char *tmio_mmc_kmap_atomic(struct scatterlist *sg, | 90 | static inline char *tmio_mmc_kmap_atomic(struct scatterlist *sg, |
91 | unsigned long *flags) | 91 | unsigned long *flags) |