Skip to content
Snippets Groups Projects
Commit 4f45c40f authored by Peter Hüwe's avatar Peter Hüwe Committed by David S. Miller
Browse files

net/ethernet/nvidia/forcedeth: Use module_pci_driver to register driver


Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.

The name of the pci_driver struct had to be changed in order to prevent
a build failure.

Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 65c21912
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment