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
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