Commit ccee748e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fore200e.c warning fix

drivers/atm/fore200e.c: In function `fore200e_close':
drivers/atm/fore200e.c:1659: warning: use of cast expressions as lvalues is deprecated
parent c450028f
......@@ -1656,7 +1656,7 @@ fore200e_close(struct atm_vcc* vcc)
vcc->itf = vcc->vci = vcc->vpi = 0;
fore200e_vcc = FORE200E_VCC(vcc);
FORE200E_VCC(vcc) = NULL;
vcc->dev_data = NULL;
spin_unlock_irqrestore(&fore200e->q_lock, flags);
......
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