Commit 75e8d989 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] gcc-3.5: drivers/atm/fore200e.c

drivers/atm/fore200e.c: In function `fore200e_open':
drivers/atm/fore200e.c:1420: error: invalid lvalue in assignment
drivers/atm/fore200e.c: In function `fore200e_register':
drivers/atm/fore200e.c:2485: error: invalid lvalue in assignment
parent c6498c4a
......@@ -1417,7 +1417,7 @@ fore200e_open(struct atm_vcc *vcc)
return -ENOMEM;
}
FORE200E_VCC(vcc) = fore200e_vcc;
vcc->dev_data = fore200e_vcc;
if (fore200e_activate_vcin(fore200e, 1, vcc, vcc->qos.rxtp.max_sdu) < 0) {
kfree(fore200e_vcc);
......@@ -2482,7 +2482,7 @@ fore200e_register(struct fore200e* fore200e)
return -ENODEV;
}
FORE200E_DEV(atm_dev) = fore200e;
atm_dev->dev_data = fore200e;
fore200e->atm_dev = atm_dev;
atm_dev->ci_range.vpi_bits = 8;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment