diff options
author | Christian Lütke-Stetzkamp <christian@lkamp.de> | 2018-04-29 20:32:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-07 05:08:07 +0300 |
commit | 759c05d317afbfbd75c3afac36ab98a68f3ad415 (patch) | |
tree | f6b04ce700959320d05b7e9303042939bfc27a63 /drivers/staging/mt7621-mmc | |
parent | 37c6325b584f7f68861e2418a32e2c32d5a35a6c (diff) | |
download | linux-759c05d317afbfbd75c3afac36ab98a68f3ad415.tar.xz |
staging: mt7621-mmc: Change return value of msdc_dma_config to void
The msdc_dma_config function currently returns always 0. Remove the
return and change to void.
Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-mmc')
-rw-r--r-- | drivers/staging/mt7621-mmc/sd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c index 0d1eed2a7964..b51a4b156605 100644 --- a/drivers/staging/mt7621-mmc/sd.c +++ b/drivers/staging/mt7621-mmc/sd.c @@ -1085,7 +1085,7 @@ static u8 msdc_dma_calcs(u8 *buf, u32 len) } /* gpd bd setup + dma registers */ -static int msdc_dma_config(struct msdc_host *host, struct msdc_dma *dma) +static void msdc_dma_config(struct msdc_host *host, struct msdc_dma *dma) { void __iomem *base = host->base; //u32 i, j, num, bdlen, arg, xfersz; @@ -1159,7 +1159,6 @@ static int msdc_dma_config(struct msdc_host *host, struct msdc_dma *dma) N_MSG(DMA, "DMA_CFG = 0x%x", sdr_read32(MSDC_DMA_CFG)); N_MSG(DMA, "DMA_SA = 0x%x", sdr_read32(MSDC_DMA_SA)); - return 0; } static void msdc_dma_setup(struct msdc_host *host, struct msdc_dma *dma, |