linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/5] HID: Correctly mark init and exit functions of Roccat Kone module
@ 2010-05-12 15:44 Stefan Achatz
  2010-05-18 12:03 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Achatz @ 2010-05-12 15:44 UTC (permalink / raw)
  To: Jiri Kosina, Stephane Chatty, Jussi Kivilinna, wylda,
	Stefan Achatz, Jerome Vidal, Tejun Heo, linux-input, linux-kernel

>From bbc9f26b13e7756061adb62c561d40f060623bd7 Mon Sep 17 00:00:00 2001
From: Stefan Achatz <erazor_de@users.sourceforge.net>
Date: Sat, 8 May 2010 17:20:38 +0200
Subject: [PATCH 3/5] HID: Correctly mark init and exit functions of
Roccat Kone module

Added the __init and __exit hints for module functions.

Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
---
 drivers/hid/hid-roccat-kone.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/hid/hid-roccat-kone.c
b/drivers/hid/hid-roccat-kone.c
index 9d68442..0b1db24 100644
--- a/drivers/hid/hid-roccat-kone.c
+++ b/drivers/hid/hid-roccat-kone.c
@@ -990,12 +990,12 @@ static struct hid_driver kone_driver = {
 		.raw_event = kone_raw_event
 };
 
-static int kone_init(void)
+static int __init kone_init(void)
 {
 	return hid_register_driver(&kone_driver);
 }
 
-static void kone_exit(void)
+static void __exit kone_exit(void)
 {
 	hid_unregister_driver(&kone_driver);
 }
-- 
1.6.6.1




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

* Re: [PATCH 3/5] HID: Correctly mark init and exit functions of Roccat Kone module
  2010-05-12 15:44 [PATCH 3/5] HID: Correctly mark init and exit functions of Roccat Kone module Stefan Achatz
@ 2010-05-18 12:03 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2010-05-18 12:03 UTC (permalink / raw)
  To: Stefan Achatz
  Cc: Stephane Chatty, Jussi Kivilinna, wylda, Jerome Vidal, Tejun Heo,
	linux-input, linux-kernel

On Wed, 12 May 2010, Stefan Achatz wrote:

> >From bbc9f26b13e7756061adb62c561d40f060623bd7 Mon Sep 17 00:00:00 2001
> From: Stefan Achatz <erazor_de@users.sourceforge.net>
> Date: Sat, 8 May 2010 17:20:38 +0200
> Subject: [PATCH 3/5] HID: Correctly mark init and exit functions of
> Roccat Kone module
> 
> Added the __init and __exit hints for module functions.
> 
> Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
> ---
>  drivers/hid/hid-roccat-kone.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/hid/hid-roccat-kone.c
> b/drivers/hid/hid-roccat-kone.c
> index 9d68442..0b1db24 100644
> --- a/drivers/hid/hid-roccat-kone.c
> +++ b/drivers/hid/hid-roccat-kone.c
> @@ -990,12 +990,12 @@ static struct hid_driver kone_driver = {
>  		.raw_event = kone_raw_event
>  };
>  
> -static int kone_init(void)
> +static int __init kone_init(void)
>  {
>  	return hid_register_driver(&kone_driver);
>  }
>  
> -static void kone_exit(void)
> +static void __exit kone_exit(void)
>  {
>  	hid_unregister_driver(&kone_driver);
>  }

Applied, thanks Stefan.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

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

end of thread, other threads:[~2010-05-18 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 15:44 [PATCH 3/5] HID: Correctly mark init and exit functions of Roccat Kone module Stefan Achatz
2010-05-18 12:03 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).