From patchwork Wed May 12 15:44:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Achatz X-Patchwork-Id: 99034 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4CFiiCR019719 for ; Wed, 12 May 2010 15:44:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753624Ab0ELPo2 (ORCPT ); Wed, 12 May 2010 11:44:28 -0400 Received: from mail-in-08.arcor-online.net ([151.189.21.48]:51416 "EHLO mail-in-08.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752780Ab0ELPo1 (ORCPT ); Wed, 12 May 2010 11:44:27 -0400 Received: from mail-in-16-z2.arcor-online.net (mail-in-16-z2.arcor-online.net [151.189.8.33]) by mx.arcor.de (Postfix) with ESMTP id 46F38205606; Wed, 12 May 2010 17:44:26 +0200 (CEST) Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) by mail-in-16-z2.arcor-online.net (Postfix) with ESMTP id 39ABD2546A8; Wed, 12 May 2010 17:44:26 +0200 (CEST) Received: from [192.168.0.1] (dslb-088-065-138-186.pools.arcor-ip.net [88.65.138.186]) by mail-in-07.arcor-online.net (Postfix) with ESMTPS id A59B9107E0A; Wed, 12 May 2010 17:44:25 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-07.arcor-online.net A59B9107E0A Subject: [PATCH 3/5] HID: Correctly mark init and exit functions of Roccat Kone module From: Stefan Achatz Reply-To: erazor_de@users.sourceforge.net To: Jiri Kosina , Stephane Chatty , Jussi Kivilinna , wylda@volny.cz, Stefan Achatz , Jerome Vidal , Tejun Heo , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 12 May 2010 17:44:25 +0200 Message-ID: <1273679065.2927.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 12 May 2010 15:44:44 +0000 (UTC) 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); }