mmc: tmio/sdhi: break out interrupt request/free
authorMagnus Damm <damm@opensource.se>
Fri, 6 May 2011 11:02:33 +0000 (11:02 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 03:53:52 +0000 (23:53 -0400)
commit8e7bfdb37ac001c95d2c768932b57de1019409cd
tree8b91c25442de01ce415563ae60ee30eb8d7e6e3c
parentdf3ef2d3c92c0a562ebde3699af7d12401fddf60
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>
drivers/mmc/host/sh_mobile_sdhi.c
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/tmio_mmc.h
drivers/mmc/host/tmio_mmc_pio.c