Skip to content

Commit 7d1f8db

Browse files
Jorge Boncomptedavem330
authored andcommitted
[ATM]: [he] fixing compilation when you define USE_RBPS_POOL/USE_RBPL_POOL
Signed-off-by: Jorge Boncompte <[email protected]> Signed-off-by: Chas Williams <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a5929af commit 7d1f8db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/atm/he.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,6 +1637,8 @@ he_stop(struct he_dev *he_dev)
16371637

16381638
if (he_dev->rbpl_base) {
16391639
#ifdef USE_RBPL_POOL
1640+
int i;
1641+
16401642
for (i = 0; i < CONFIG_RBPL_SIZE; ++i) {
16411643
void *cpuaddr = he_dev->rbpl_virt[i].virt;
16421644
dma_addr_t dma_handle = he_dev->rbpl_base[i].phys;
@@ -1659,6 +1661,8 @@ he_stop(struct he_dev *he_dev)
16591661
#ifdef USE_RBPS
16601662
if (he_dev->rbps_base) {
16611663
#ifdef USE_RBPS_POOL
1664+
int i;
1665+
16621666
for (i = 0; i < CONFIG_RBPS_SIZE; ++i) {
16631667
void *cpuaddr = he_dev->rbps_virt[i].virt;
16641668
dma_addr_t dma_handle = he_dev->rbps_base[i].phys;

0 commit comments

Comments
 (0)