From: Stefan Achatz <erazor_de@users.sourceforge.net>
To: Jiri Kosina <jkosina@suse.cz>, Stephane Chatty <chatty@enac.fr>,
Jussi Kivilinna <jussi.kivilinna@mbnet.fi>,
wylda@volny.cz, Stefan Achatz <erazor_de@users.sourceforge.net>,
Jerome Vidal <jerom3@free.fr>, Tejun Heo <tj@kernel.org>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 3/5] HID: Correctly mark init and exit functions of Roccat Kone module
Date: Wed, 12 May 2010 17:44:25 +0200 [thread overview]
Message-ID: <1273679065.2927.6.camel@localhost> (raw)
>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
next reply other threads:[~2010-05-12 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-12 15:44 Stefan Achatz [this message]
2010-05-18 12:03 ` [PATCH 3/5] HID: Correctly mark init and exit functions of Roccat Kone module Jiri Kosina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1273679065.2927.6.camel@localhost \
--to=erazor_de@users.sourceforge.net \
--cc=chatty@enac.fr \
--cc=jerom3@free.fr \
--cc=jkosina@suse.cz \
--cc=jussi.kivilinna@mbnet.fi \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
--cc=wylda@volny.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).