ariadne: convert to net_device_ops
authorAlexander Beregalov <a.beregalov@gmail.com>
Fri, 10 Apr 2009 07:59:24 +0000 (07:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Apr 2009 09:53:46 +0000 (02:53 -0700)
commitf97b1f2a416045c7a9c7e62d575a809bc32c0f1e
tree9720beff6a462e277cb9ecf3e75f31786e2dafcf
parent15efc02b2625f1bb2b1970b1f4bc777590b9ed73
ariadne: convert to net_device_ops

On Fri, Apr 10, 2009 at 06:13:54PM +0200, Jan Ceuleers wrote:
> Alexander Beregalov wrote:
> >
> > Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
> ...
> > @@ -197,13 +209,8 @@ static int __devinit ariadne_init_one(struct zorro_dev *z,
> >      dev->mem_start = ZTWO_VADDR(mem_start);
> >      dev->mem_end = dev->mem_start+ARIADNE_RAM_SIZE;
> >
> > -    dev->open = &ariadne_open;
> > -    dev->stop = &ariadne_close;
> > -    dev->hard_start_xmit = &ariadne_start_xmit;
> > -    dev->tx_timeout = &ariadne_tx_timeout;
> > +    dev->netdev_ops = &ariadne_netdev_ops;;
>
> We don't really need two semicolons there but I suppose that they won't
> hurt.
Thanks!

David, please apply this patch

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ariadne.c