Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753834AbZI2L6k (ORCPT ); Tue, 29 Sep 2009 07:58:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753299AbZI2L6j (ORCPT ); Tue, 29 Sep 2009 07:58:39 -0400 Received: from cantor.suse.de ([195.135.220.2]:41139 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750698AbZI2L6i (ORCPT ); Tue, 29 Sep 2009 07:58:38 -0400 Date: Tue, 29 Sep 2009 13:58:38 +0200 (CEST) From: Jiri Kosina X-X-Sender: jkosina@wotan.suse.de To: =?ISO-8859-15?Q?Peter_H=FCwe?= Cc: Bruno Premont , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hid: adding __init/__exit macros to twinhan.c In-Reply-To: <200909290324.56042.PeterHuewe@gmx.de> Message-ID: References: <200909290324.56042.PeterHuewe@gmx.de> User-Agent: Alpine 2.00 (LSU 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="168427776-1050125348-1254225520=:9280" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1654 Lines: 52 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --168427776-1050125348-1254225520=:9280 Content-Type: TEXT/PLAIN; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Tue, 29 Sep 2009, Peter H?we wrote: > From: Peter Huewe > > Trivial patch which adds the __init/__exit macros to the module_init/ > module_exit functions of the twinhan driver in hid. > > Jiri, I guess this time you can decide wether it's the hid or the trivial > tree ;) - thanks jiri for all your patience and work! > > linux version v2.6.32-rc1 - linus git tree, Di 29. Sep 01:10:18 CEST 2009 > > Signed-off-by: Peter Huewe > --- > diff --git a/drivers/hid/hid-twinhan.c b/drivers/hid/hid-twinhan.c > index b05f602..c40afc5 100644 > --- a/drivers/hid/hid-twinhan.c > +++ b/drivers/hid/hid-twinhan.c > @@ -132,12 +132,12 @@ static struct hid_driver twinhan_driver = { > .input_mapping = twinhan_input_mapping, > }; > > -static int twinhan_init(void) > +static int __init twinhan_init(void) > { > return hid_register_driver(&twinhan_driver); > } > > -static void twinhan_exit(void) > +static void __exit twinhan_exit(void) > { > hid_unregister_driver(&twinhan_driver); > } Applied, thanks. -- Jiri Kosina SUSE Labs, Novell Inc. --168427776-1050125348-1254225520=:9280-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/