aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/he.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm/he.c')
-rw-r--r--drivers/atm/he.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/atm/he.c b/drivers/atm/he.c
index 325344bb3a1e..2e3395b7e8c1 100644
--- a/drivers/atm/he.c
+++ b/drivers/atm/he.c
@@ -1637,6 +1637,8 @@ he_stop(struct he_dev *he_dev)
1637 1637
1638 if (he_dev->rbpl_base) { 1638 if (he_dev->rbpl_base) {
1639#ifdef USE_RBPL_POOL 1639#ifdef USE_RBPL_POOL
1640 int i;
1641
1640 for (i = 0; i < CONFIG_RBPL_SIZE; ++i) { 1642 for (i = 0; i < CONFIG_RBPL_SIZE; ++i) {
1641 void *cpuaddr = he_dev->rbpl_virt[i].virt; 1643 void *cpuaddr = he_dev->rbpl_virt[i].virt;
1642 dma_addr_t dma_handle = he_dev->rbpl_base[i].phys; 1644 dma_addr_t dma_handle = he_dev->rbpl_base[i].phys;
@@ -1659,6 +1661,8 @@ he_stop(struct he_dev *he_dev)
1659#ifdef USE_RBPS 1661#ifdef USE_RBPS
1660 if (he_dev->rbps_base) { 1662 if (he_dev->rbps_base) {
1661#ifdef USE_RBPS_POOL 1663#ifdef USE_RBPS_POOL
1664 int i;
1665
1662 for (i = 0; i < CONFIG_RBPS_SIZE; ++i) { 1666 for (i = 0; i < CONFIG_RBPS_SIZE; ++i) {
1663 void *cpuaddr = he_dev->rbps_virt[i].virt; 1667 void *cpuaddr = he_dev->rbps_virt[i].virt;
1664 dma_addr_t dma_handle = he_dev->rbps_base[i].phys; 1668 dma_addr_t dma_handle = he_dev->rbps_base[i].phys;