[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1005181403410.28092@pobox.suse.cz>
Date: Tue, 18 May 2010 14:03:50 +0200 (CEST)
From: Jiri Kosina <jkosina@...e.cz>
To: Stefan Achatz <erazor_de@...rs.sourceforge.net>
Cc: Stephane Chatty <chatty@...c.fr>,
Jussi Kivilinna <jussi.kivilinna@...et.fi>, wylda@...ny.cz,
Jerome Vidal <jerom3@...e.fr>, Tejun Heo <tj@...nel.org>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/5] HID: Correctly mark init and exit functions of Roccat
Kone module
On Wed, 12 May 2010, Stefan Achatz wrote:
> >From bbc9f26b13e7756061adb62c561d40f060623bd7 Mon Sep 17 00:00:00 2001
> From: Stefan Achatz <erazor_de@...rs.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@...rs.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists