From: Jingoo Han Subject: [PATCH 4/5] leds: clevo-mail: fix incorrect placement of __initdata marker Date: Wed, 26 Feb 2014 14:14:49 +0900 Message-ID: <000e01cf32b1$ac754340$055fc9c0$%han@samsung.com> References: <000b01cf32b0$eb62fe40$c228fac0$%han@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mailout3.samsung.com ([203.254.224.33]:37303 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750841AbaBZFOv convert rfc822-to-8bit (ORCPT ); Wed, 26 Feb 2014 00:14:51 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1L0062Q7WQNQ80@mailout3.samsung.com> for linux-leds@vger.kernel.org; Wed, 26 Feb 2014 14:14:50 +0900 (KST) In-reply-to: <000b01cf32b0$eb62fe40$c228fac0$%han@samsung.com> Content-language: ko Sender: linux-leds-owner@vger.kernel.org List-Id: linux-leds@vger.kernel.org To: 'Bryan Wu' Cc: linux-leds@vger.kernel.org, 'Richard Purdie' , 'Jingoo Han' , =?ISO-8859-1?Q?'M=E1rton_N=E9meth'?= , =?ISO-8859-1?Q?'Uwe_Kleine-K=F6nig'?= , 'Ondrej Zary' The __initdata marker can be virtually anywhere on the line, EXCEPT right after "struct". The preferred location is before the "=3D" sign if there is one, or before the trailing ";" otherwise. It also fixes the following chechpatch warning. WARNING: __initdata should be placed after nodetect Signed-off-by: Jingoo Han --- drivers/leds/leds-clevo-mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-m= ail.c index d93e245..5974810 100644 --- a/drivers/leds/leds-clevo-mail.c +++ b/drivers/leds/leds-clevo-mail.c @@ -19,7 +19,7 @@ MODULE_AUTHOR("M=E1rton N=E9meth "= ); MODULE_DESCRIPTION("Clevo mail LED driver"); MODULE_LICENSE("GPL"); =20 -static bool __initdata nodetect; +static bool nodetect __initdata; module_param_named(nodetect, nodetect, bool, 0); MODULE_PARM_DESC(nodetect, "Skip DMI hardware detection"); =20 --=20 1.7.10.4