public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: dgnc: add __exit macro to dgnc_driver.c
@ 2016-06-18 19:42 Joshua Houghton
  2016-06-19 23:19 ` Joshua Houghton
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Houghton @ 2016-06-18 19:42 UTC (permalink / raw)
  To: Lidza Louina; +Cc: driverdev-devel, devel, linux-kernel, Mark Hounschell

Add the __exit macro to the dgnc_cleanup_module(void) function
in dgnc_driver.c

Signed-off-by: Joshua Houghton <josh@awful.name>
---
 drivers/staging/dgnc/dgnc_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c
index af2e835..2c3fb2a 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);
-- 
2.8.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: dgnc: add __exit macro to dgnc_driver.c
  2016-06-18 19:42 [PATCH] staging: dgnc: add __exit macro to dgnc_driver.c Joshua Houghton
@ 2016-06-19 23:19 ` Joshua Houghton
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Houghton @ 2016-06-19 23:19 UTC (permalink / raw)
  To: Lidza Louina
  Cc: driverdev-devel, devel, linux-kernel, Mark Hounschell,
	Greg Kroah-Hartman

On Saturday, 18 June 2016 19:42:07 UTC Joshua Houghton wrote:
> Add the __exit macro to the dgnc_cleanup_module(void) function
> in dgnc_driver.c
> 
> Signed-off-by: Joshua Houghton <josh@awful.name>
> ---
>  drivers/staging/dgnc/dgnc_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/dgnc/dgnc_driver.c
> b/drivers/staging/dgnc/dgnc_driver.c index af2e835..2c3fb2a 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);

Forgot to CC in Greg Kroah-Hartman

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-19 22:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-18 19:42 [PATCH] staging: dgnc: add __exit macro to dgnc_driver.c Joshua Houghton
2016-06-19 23:19 ` Joshua Houghton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox