From patchwork Mon Aug 12 09:33:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2842946 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 29F16BF546 for ; Mon, 12 Aug 2013 09:50:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08B2720150 for ; Mon, 12 Aug 2013 09:50:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 11BFF201BB for ; Mon, 12 Aug 2013 09:50:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756043Ab3HLJuZ (ORCPT ); Mon, 12 Aug 2013 05:50:25 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:42008 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756039Ab3HLJuZ (ORCPT ); Mon, 12 Aug 2013 05:50:25 -0400 Received: by mail-pd0-f172.google.com with SMTP id z10so3186861pdj.3 for ; Mon, 12 Aug 2013 02:50:24 -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:in-reply-to :references; bh=n4kydGFldFgRiI9c0eLt2I8LIqvvwURBXJeCkXPMLZs=; b=KksmSwV6qOJrs5u98NT9RCBvx7xz9wb2wWrmAxFdAoC3+OINoVZ598pfbdu8hP3IhX usServFFvGM4LJobgPuSY8u3jnN+hVvrCrDn+s6vaS53/dkHfj8duXVVBUZYI39H79He JwPgsuXBCEDeMQbBwc/fwuAMPNNDf98y8MzX1K3uMiTsh+pqiPdMyS257DFySaN0jrUb UJmDmT4JFax4yMZQroPT07QoOv8YENlH1sjulEFTQdaF1oLp6Dm5KtPfASZyZ+2YeCEz WREtkziaLtbDRgFOCLEO5WlhoY2rfZF0tqm8uh7W10hp3WryY66Mvs7n6o0KsOf6fxXi VNyw== X-Gm-Message-State: ALoCoQlPvQFdQnuqZvTIhHMeD/SE9o3DfFKm5nn987E2ieJqDOZ40/2KLAArQ7hQlHnvCGqHO0Pu X-Received: by 10.68.34.165 with SMTP id a5mr23339190pbj.156.1376301024727; Mon, 12 Aug 2013 02:50:24 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ef10sm38924292pac.1.2013.08.12.02.50.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 02:50:23 -0700 (PDT) From: Sachin Kamat To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, sachin.kamat@linaro.org Subject: [PATCH 3/3] Input: synaptics - Fix incorrect placement of __initconst Date: Mon, 12 Aug 2013 15:03:21 +0530 Message-Id: <1376300001-16706-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1376300001-16706-1-git-send-email-sachin.kamat@linaro.org> References: <1376300001-16706-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-9.7 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 __initconst 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 --- drivers/input/mouse/synaptics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index b2420ae..26386f9 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -1433,7 +1433,7 @@ static int synaptics_reconnect(struct psmouse *psmouse) static bool impaired_toshiba_kbc; -static const struct dmi_system_id __initconst toshiba_dmi_table[] = { +static const struct dmi_system_id toshiba_dmi_table[] __initconst = { #if defined(CONFIG_DMI) && defined(CONFIG_X86) { /* Toshiba Satellite */ @@ -1472,7 +1472,7 @@ static const struct dmi_system_id __initconst toshiba_dmi_table[] = { static bool broken_olpc_ec; -static const struct dmi_system_id __initconst olpc_dmi_table[] = { +static const struct dmi_system_id olpc_dmi_table[] __initconst = { #if defined(CONFIG_DMI) && defined(CONFIG_OLPC) { /* OLPC XO-1 or XO-1.5 */