From patchwork Thu Jun 5 17:30:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4309351 Return-Path: X-Original-To: patchwork-dri-devel@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 859E0BEEAA for ; Fri, 6 Jun 2014 00:33:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B36A220295 for ; Fri, 6 Jun 2014 00:33:07 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D0D552022A for ; Fri, 6 Jun 2014 00:33:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AF55D6E9F2; Thu, 5 Jun 2014 17:32:54 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-we0-f180.google.com (mail-we0-f180.google.com [74.125.82.180]) by gabe.freedesktop.org (Postfix) with ESMTP id 5AD996E299 for ; Thu, 5 Jun 2014 10:31:13 -0700 (PDT) Received: by mail-we0-f180.google.com with SMTP id q58so1488350wes.25 for ; Thu, 05 Jun 2014 10:31:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2qOl2F2TT4I5u6ERo2cHXGok4qJY5liRgL/ddeK3Ayw=; b=kRxZ9Fz2loeoWFm5gMWYV1BgI/QmMbgvwcjv7EknprMkLbBS0379C9zGNUUFo6Bv7D S73611YsvSLkXxj23A0/3v+znZLTV5tWxECusMnuNy6sTXuZuNxr131jKts0QFT3UyFX q51+8/EkBluVEx/BtdlO8CInZBCcl7oMrYvcTOTbYWtFFurK0uytrwXtbBPUzg8XZgkN 7WAFLzFhON2mSjauTu1OyGz6fq2HKB2+bvnHmCpavff6mCY6JIFd+HLyWlrD/1c0K05Z ptUzrxkOQn33dscKrZp+ybaRKEupMlM/27J2neaUpF3hkkup8Ke03glVAFRI1dJmAov0 hpXg== X-Gm-Message-State: ALoCoQmoTYJhRqbIRudBbSxUwKxuGQUfpjf8fROd/LLBF78jZ06YpxNtqPeBUNZfaf8EgqfDr/wh X-Received: by 10.180.126.97 with SMTP id mx1mr17670731wib.29.1401989471776; Thu, 05 Jun 2014 10:31:11 -0700 (PDT) Received: from griffinp-ThinkPad-X1-Carbon-2nd.lan ([31.185.189.235]) by mx.google.com with ESMTPSA id em5sm16630376wic.23.2014.06.05.10.31.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Jun 2014 10:31:11 -0700 (PDT) From: Peter Griffin To: linux-kernel@vger.kernel.org Subject: [PATCH 2/2] drm/msm: storage class should be before const qualifier Date: Thu, 5 Jun 2014 18:30:58 +0100 Message-Id: <1401989458-450-2-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401989458-450-1-git-send-email-peter.griffin@linaro.org> References: <1401989458-450-1-git-send-email-peter.griffin@linaro.org> X-Mailman-Approved-At: Thu, 05 Jun 2014 17:32:52 -0700 Cc: peter.griffin@linaro.org, lee.jones@linaro.org, dri-devel@lists.freedesktop.org, patches@linaro.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Peter Griffin Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org --- drivers/gpu/drm/msm/msm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index f9de156..407975d 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -159,7 +159,7 @@ static int msm_unload(struct drm_device *dev) static int get_mdp_ver(struct platform_device *pdev) { #ifdef CONFIG_OF - const static struct of_device_id match_types[] = { { + static const struct of_device_id match_types[] = { { .compatible = "qcom,mdss_mdp", .data = (void *)5, }, {