X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fnet%2Fsundance.c;h=e0ddf2be907dc74185f257fdc105a6edf0fb1d1f;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=849b576347ba7bfe1c9be894faaa2c09504f9989;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/drivers/net/sundance.c b/drivers/net/sundance.c index 849b57634..e0ddf2be9 100644 --- a/drivers/net/sundance.c +++ b/drivers/net/sundance.c @@ -879,7 +879,7 @@ static int netdev_open(struct net_device *dev) if (dev->if_port == 0) dev->if_port = np->default_port; - np->mcastlock = (spinlock_t) SPIN_LOCK_UNLOCKED; + np->mcastlock = SPIN_LOCK_UNLOCKED; set_rx_mode(dev); writew(0, ioaddr + IntrEnable);