mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
pcmcia/3c574_cs: fix 'shadow variable' warning
Fixing: CHECK drivers/net/pcmcia/3c574_cs.c drivers/net/pcmcia/3c574_cs.c:695:7: warning: symbol 'i' shadows an earlier one drivers/net/pcmcia/3c574_cs.c:636:6: originally declared here Signed-off-by: Richard Knutson <[email protected]> Acked-by: Alan Cox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
52debb0623
commit
1569d9e89a
1 changed files with 1 additions and 1 deletions
|
|
@ -696,7 +696,7 @@ static void tc574_reset(struct net_device *dev)
|
|||
mdio_write(ioaddr, lp->phys, 4, lp->advertising);
|
||||
if (!auto_polarity) {
|
||||
/* works for TDK 78Q2120 series MII's */
|
||||
int i = mdio_read(ioaddr, lp->phys, 16) | 0x20;
|
||||
i = mdio_read(ioaddr, lp->phys, 16) | 0x20;
|
||||
mdio_write(ioaddr, lp->phys, 16, i);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue