Commit 598b1529 authored by Joshua Houghton's avatar Joshua Houghton Committed by Greg Kroah-Hartman

staging: dgnc: add __exit macro to dgnc_driver.c

Add the __exit macro to the dgnc_cleanup_module(void) function
in dgnc_driver.c
Signed-off-by: default avatarJoshua Houghton <josh@awful.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 65ffc679
...@@ -158,7 +158,7 @@ static void cleanup(bool sysfiles) ...@@ -158,7 +158,7 @@ static void cleanup(bool sysfiles)
* *
* Module unload. This is where it all ends. * Module unload. This is where it all ends.
*/ */
static void dgnc_cleanup_module(void) static void __exit dgnc_cleanup_module(void)
{ {
cleanup(true); cleanup(true);
pci_unregister_driver(&dgnc_driver); pci_unregister_driver(&dgnc_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment