linux-mips
[Top] [All Lists]

RE: [NET] meth driver renovation

To: "'Ralf Baechle'" <ralf@linux-mips.org>, Andrew Morton <akpm@linux-foundation.org>, Jeff Garzik <jeff@garzik.org>, netdev@vger.kernel.org
Subject: RE: [NET] meth driver renovation
From: Shane McDonald <Shane_McDonald@pmc-sierra.com>
Date: Wed, 23 May 2007 13:02:18 -0700
Cc: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Should this be:

>  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);
                      ^^

Shane

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