Title: [7930] trunk/drivers/mmc/host/bfin_sdh.c: bfin_sdh: fix unused sg warning on BF51x/BF52x systems
- Revision
- 7930
- Author
- vapier
- Date
- 2009-12-03 18:43:47 -0500 (Thu, 03 Dec 2009)
Log Message
bfin_sdh: fix unused sg warning on BF51x/BF52x systems
Modified Paths
Diff
Modified: trunk/drivers/mmc/host/bfin_sdh.c (7929 => 7930)
--- trunk/drivers/mmc/host/bfin_sdh.c 2009-12-03 23:42:16 UTC (rev 7929)
+++ trunk/drivers/mmc/host/bfin_sdh.c 2009-12-03 23:43:47 UTC (rev 7930)
@@ -115,7 +115,6 @@
unsigned int length;
unsigned int data_ctl;
unsigned int dma_cfg;
- struct scatterlist *sg;
dev_dbg(mmc_dev(host->mmc), "%s enter flags: 0x%x\n", __func__, data->flags);
host->data = ""
@@ -151,6 +150,7 @@
#if defined(CONFIG_BF54x)
dma_cfg |= DMAFLOW_ARRAY | NDSIZE_5 | RESTART | WDSIZE_32 | DMAEN;
{
+ struct scatterlist *sg;
int i;
for_each_sg(data->sg, sg, host->dma_len, i) {
host->sg_cpu[i].start_addr = sg_dma_address(sg);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits