Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);