mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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:
parent
65ffc67993
commit
598b1529d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue