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: Joshua Houghton <josh@awful.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Joshua Houghton 2016-06-18 19:42:07 +00:00 committed by Greg Kroah-Hartman
parent 65ffc67993
commit 598b1529d6

View file

@ -158,7 +158,7 @@ static void cleanup(bool sysfiles)
*
* Module unload. This is where it all ends.
*/
static void dgnc_cleanup_module(void)
static void __exit dgnc_cleanup_module(void)
{
cleanup(true);
pci_unregister_driver(&dgnc_driver);