From patchwork Wed Aug 7 09:39:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2840087 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4A1C69F3B9 for ; Wed, 7 Aug 2013 09:55:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5A791201BE for ; Wed, 7 Aug 2013 09:55:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3826B2016A for ; Wed, 7 Aug 2013 09:55:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757129Ab3HGJzw (ORCPT ); Wed, 7 Aug 2013 05:55:52 -0400 Received: from mail-pb0-f42.google.com ([209.85.160.42]:33849 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756888Ab3HGJzw (ORCPT ); Wed, 7 Aug 2013 05:55:52 -0400 Received: by mail-pb0-f42.google.com with SMTP id un15so1700984pbc.29 for ; Wed, 07 Aug 2013 02:55:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mWXAQsMmFDNaTkjK5c6+k3mw1YCgNOmM3WMkJwjWDJI=; b=Px9IlDDf75q1EOIG47YmvcleTtPP6KnuXF3+Lq53kLtd/k8uJF56OdCSaQvv9u56y1 zoIekmtov6ZSO96HyQTVlhKk649CWXt2qNfm9b9YBDkoZqwabhGXDwlSHK+Igsg5j5hV vPyrTQd5gcjIbZ557Xy2ur6CfOrMPuTG7ifXd4mzdmvrK2/EVhRqrwjMcBCNi59D6TnL GqRoBwnMMMvZV1boZuyXaD5pPRougYVFESmhP8t0giEwbOk1Tw9WUWwWnEZAe6CFtSVm kqDSxS5APEgcjGXUvhbXEZ/Mxc7H9/CcIvyu+TEqM3o5JJYYNZq+xQnQNFGINLbMi1HY BjCQ== X-Gm-Message-State: ALoCoQlpmWYLArLOnQXGxvybnSOwFADwdcNbIhyhCCxz6Bsom2twpE9yxGsmVKgY7IChLDgoyLOG X-Received: by 10.68.235.102 with SMTP id ul6mr2815681pbc.14.1375869351659; Wed, 07 Aug 2013 02:55:51 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id w6sm3763508pbt.32.2013.08.07.02.55.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 Aug 2013 02:55:50 -0700 (PDT) From: Sachin Kamat To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, sachin.kamat@linaro.org, Pau Oliva Fora Subject: [PATCH 1/1] Input: htcpen - Fix incorrect placement of __initdata Date: Wed, 7 Aug 2013 15:09:06 +0530 Message-Id: <1375868346-28851-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP __initdata should be placed between the variable name and equal sign for the variable to be placed in the intended section. Signed-off-by: Sachin Kamat Cc: Pau Oliva Fora --- drivers/input/touchscreen/htcpen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/htcpen.c b/drivers/input/touchscreen/htcpen.c index 6c4fb84..6650085 100644 --- a/drivers/input/touchscreen/htcpen.c +++ b/drivers/input/touchscreen/htcpen.c @@ -221,7 +221,7 @@ static struct isa_driver htcpen_isa_driver = { } }; -static struct dmi_system_id __initdata htcshift_dmi_table[] = { +static struct dmi_system_id htcshift_dmi_table[] __initdata = { { .ident = "Shift", .matches = {