linux-mips
[Top] [All Lists]

Re: [NET] meth driver renovation

To: Shane McDonald <Shane_McDonald@pmc-sierra.com>
Subject: Re: [NET] meth driver renovation
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 24 May 2007 12:51:28 +0100
Cc: Andrew Morton <akpm@linux-foundation.org>, Jeff Garzik <jeff@garzik.org>, netdev@vger.kernel.org, linux-mips@linux-mips.org
In-reply-to: <8A9D56C5E50F774BABE033F1710B3576093B15@BBY1EXM11.pmc_nt.nt.pmc-sierra.bc.ca>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <8A9D56C5E50F774BABE033F1710B3576093B15@BBY1EXM11.pmc_nt.nt.pmc-sierra.bc.ca>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
On Wed, May 23, 2007 at 01:02:18PM -0700, Shane McDonald wrote:

> >  static void __exit meth_exit_module(void)
> >  {
> > -   unregister_netdev(meth_dev);
> > -   free_netdev(meth_dev);
> > +   platform_driver_register(&meth_driver);
> >  }
> 
>                       ^^^^^^^^
> 
>       platform_driver_unregister(&meth_driver);

Indeed.  Will send new patch in separate email.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>