From: Joshua Houghton Date: Sat, 18 Jun 2016 19:42:07 +0000 (+0000) Subject: staging: dgnc: add __exit macro to dgnc_driver.c X-Git-Tag: v4.9-rc1~119^2~1200 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=598b1529d6ceddeadd528187996f08cc3c39cc55;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c index af2e835efa1b..2c3fb2ab5a04 100644 --- a/drivers/staging/dgnc/dgnc_driver.c +++ b/drivers/staging/dgnc/dgnc_driver.c @@ -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);