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: 31434 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0C55B20BF9 for ; Thu, 5 Jun 2014 17:31:17 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id 29sf7402287yhl.6 for ; Thu, 05 Jun 2014 10:31:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=2qOl2F2TT4I5u6ERo2cHXGok4qJY5liRgL/ddeK3Ayw=; b=fh7n2CHA4DXyCWebuBlLMGN/hxYqqKX7q4rHdolQq/Ky/ozqKzCrUV7KKjmq7WpIN0 w0L+p0hfbuyminobTTvAS3cIoMgegJhs9vB9G0NSf5WLt4vn5RC/cNYwHQtIFRPqgqQd 6DxJGVgHtF1HxvYUfeA6fK4VXSLNCSkyaKgOlDLrCX4HgZ+sGyVyneE8qOg+kftLS6fk md7TWWhEGvdRgL3uRCG1vrVvmwRXJyqoX87t4RTTCHX0mLGtouN+6ZVH+0mJLMCa9tpb /UN8HMIxmtz4vkma5FMFIYNMWwDuKdhjY7CxnJy3mry5Lypy/3ndL7IXKKNVii9179oW PeLA== X-Gm-Message-State: ALoCoQk8Hl1C5dj2cvB2RQcfuz2mIb86Ee7xsDZ9i/QjiAARFzhDksPoi+LYhpblFo9ac3Wa+2m/ X-Received: by 10.58.135.130 with SMTP id ps2mr1553510veb.8.1401989477818; Thu, 05 Jun 2014 10:31:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.21.85 with SMTP id 79ls307771qgk.41.gmail; Thu, 05 Jun 2014 10:31:17 -0700 (PDT) X-Received: by 10.58.188.37 with SMTP id fx5mr53447058vec.17.1401989477714; Thu, 05 Jun 2014 10:31:17 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id u6si4222627vdb.89.2014.06.05.10.31.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Jun 2014 10:31:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.176 as permitted sender) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id jz11so1603617veb.7 for ; Thu, 05 Jun 2014 10:31:17 -0700 (PDT) X-Received: by 10.220.53.72 with SMTP id l8mr52637720vcg.16.1401989477621; Thu, 05 Jun 2014 10:31:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp34238vcb; Thu, 5 Jun 2014 10:31:15 -0700 (PDT) X-Received: by 10.180.183.131 with SMTP id em3mr17741534wic.56.1401989475505; Thu, 05 Jun 2014 10:31:15 -0700 (PDT) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx.google.com with ESMTPS id v10si16457827wiw.36.2014.06.05.10.31.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Jun 2014 10:31:12 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.griffin@linaro.org designates 74.125.82.49 as permitted sender) client-ip=74.125.82.49; Received: by mail-wg0-f49.google.com with SMTP id m15so1485897wgh.8 for ; Thu, 05 Jun 2014 10:31:11 -0700 (PDT) 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 Cc: peter.griffin@linaro.org, patches@linaro.org, lee.jones@linaro.org, David Airlie , dri-devel@lists.freedesktop.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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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, }, {