]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: dgnc: add __exit macro to dgnc_driver.c
authorJoshua Houghton <josh@awful.name>
Sat, 18 Jun 2016 19:42:07 +0000 (19:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 17:06:09 +0000 (19:06 +0200)
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>
drivers/staging/dgnc/dgnc_driver.c

index af2e835efa1b10e5e69852ee68f51cae02a20833..2c3fb2ab5a04aade904923edd2777bc90f6f825c 100644 (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);