From patchwork Mon Aug 12 09:33:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2842945 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 162939F271 for ; Mon, 12 Aug 2013 09:50:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6859B2015A for ; Mon, 12 Aug 2013 09:50:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0633020150 for ; Mon, 12 Aug 2013 09:50:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756038Ab3HLJuU (ORCPT ); Mon, 12 Aug 2013 05:50:20 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:40106 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756036Ab3HLJuT (ORCPT ); Mon, 12 Aug 2013 05:50:19 -0400 Received: by mail-pa0-f47.google.com with SMTP id kl13so7225481pab.20 for ; Mon, 12 Aug 2013 02:50:19 -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=2gZQj+ZzoSobW7ejWC86gRSy7YwO6uA7DyCtp2vzz/k=; b=abr1RboOFQOh1ZYoQdneVQr9z568srSK8Q8e/0fLbXc0v9o2DtNI55qPvsLx6i/xQf S+/z4I894wqHiISy9Ge9qfrr9Faz4b6oAKgzifngfiaD51YklhLiFHjZyKmr4PZipaQi BkUoz9nrQbHjyPJ8iEWgA/oW9MhJXyhsUKEyMX+KEDXyOc+1H7YeHgIPL3GNflrTJhI6 /2KiDO5uQ7Rd+wQ3Ql4g95V35L7G/SFOXil/Nak5NpJ11iJBhFdiV4SM6onQxoAuGmFH m8ebjgfCilNvHsm9KVQ66fP7WEUjLECOv6taTYHou8YOrcbyBS7Egs2m1K4tCLHkzgXB dr2Q== X-Gm-Message-State: ALoCoQnIb2jqD3cJkVXIz0Fqz3sRHfZaYyqyE5U5z1z2daV4ujbjmjAHrJuURtmSw53Ei6tlc4Yj X-Received: by 10.66.161.38 with SMTP id xp6mr18504656pab.145.1376301019150; Mon, 12 Aug 2013 02:50:19 -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.16 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 02:50:18 -0700 (PDT) From: Sachin Kamat To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, sachin.kamat@linaro.org, Miloslav Trmac Subject: [PATCH 1/3] Input: wistron_btns - Fix incorrect placement of __initconst Date: Mon, 12 Aug 2013 15:03:19 +0530 Message-Id: <1376300001-16706-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=-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 Cc: Miloslav Trmac --- drivers/input/misc/wistron_btns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c index 56536f4b9..35c33c6 100644 --- a/drivers/input/misc/wistron_btns.c +++ b/drivers/input/misc/wistron_btns.c @@ -635,7 +635,7 @@ static struct key_entry keymap_prestigio[] __initdata = { * a list of buttons and their key codes (reported when loading this module * with force=1) and the output of dmidecode to $MODULE_AUTHOR. */ -static const struct dmi_system_id __initconst dmi_ids[] = { +static const struct dmi_system_id dmi_ids[] __initconst = { { /* Fujitsu-Siemens Amilo Pro V2000 */ .callback = dmi_matched,