summaryrefslogtreecommitdiff
path: root/drivers/spi/spi_bfin5xx.c
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2009-06-10 06:26:26 +0000
committerMike Frysinger <vapier@gentoo.org>2009-06-13 07:20:06 -0400
commit67834fa93d7a4fac9069a07e739110d3916d8cd4 (patch)
tree17ca53c6f0c8bf10c9a5e011540feff3acb8a3e9 /drivers/spi/spi_bfin5xx.c
parentaa286ba3aef7d1b78467313111a13888fb4c3a66 (diff)
downloadlinux-3.10-67834fa93d7a4fac9069a07e739110d3916d8cd4.tar.gz
linux-3.10-67834fa93d7a4fac9069a07e739110d3916d8cd4.tar.bz2
linux-3.10-67834fa93d7a4fac9069a07e739110d3916d8cd4.zip
Blackfin: rename bfin_addr_dcachable to bfin_addr_dcacheable
The latter naming convention is much more common. Signed-off-by: Jie Zhang <jie.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/spi/spi_bfin5xx.c')
-rw-r--r--drivers/spi/spi_bfin5xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c
index f014cc21e81..011c5bddba6 100644
--- a/drivers/spi/spi_bfin5xx.c
+++ b/drivers/spi/spi_bfin5xx.c
@@ -803,7 +803,7 @@ static void bfin_spi_pump_transfers(unsigned long data)
drv_data->rx, drv_data->len_in_bytes);
/* invalidate caches, if needed */
- if (bfin_addr_dcachable((unsigned long) drv_data->rx))
+ if (bfin_addr_dcacheable((unsigned long) drv_data->rx))
invalidate_dcache_range((unsigned long) drv_data->rx,
(unsigned long) (drv_data->rx +
drv_data->len_in_bytes));
@@ -816,7 +816,7 @@ static void bfin_spi_pump_transfers(unsigned long data)
dev_dbg(&drv_data->pdev->dev, "doing DMA out.\n");
/* flush caches, if needed */
- if (bfin_addr_dcachable((unsigned long) drv_data->tx))
+ if (bfin_addr_dcacheable((unsigned long) drv_data->tx))
flush_dcache_range((unsigned long) drv_data->tx,
(unsigned long) (drv_data->tx +
drv_data->len_in_bytes));