mmc: msm_sdcc: Move DMA CRCIs to device resources.
Instead of using the CRCIs directly in the MMC driver, pass them
to the driver via device resources.
Signed-off-by: Krishna Konda <kkonda@codeaurora.org>
diff --git a/drivers/mmc/host/msm_sdcc.h b/drivers/mmc/host/msm_sdcc.h
index 3ffe65f..a6a9369 100644
--- a/drivers/mmc/host/msm_sdcc.h
+++ b/drivers/mmc/host/msm_sdcc.h
@@ -232,6 +232,7 @@
int num_ents;
int channel;
+ int crci;
struct msmsdcc_host *host;
int busy; /* Set if DM is busy */
unsigned int result;
@@ -284,6 +285,7 @@
struct resource *bam_memres;
struct resource *dml_memres;
struct resource *dmares;
+ struct resource *dma_crci_res;
void __iomem *base;
void __iomem *dml_base;
void __iomem *bam_base;