drm/msm: storage class should be before const qualifier
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 5 Jun 2014 17:30:58 +0000 (18:30 +0100)
committerRob Clark <robdclark@gmail.com>
Sun, 22 Jun 2014 12:32:09 +0000 (08:32 -0400)
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 <peter.griffin@linaro.org>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.c

index 0d2562fb681eee5704228fe5eeea708c86f6b23d..9a5d87db5c2365722a841f990c3daca97e3354ed 100644 (file)
@@ -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,
        }, {
This page took 0.050331 seconds and 5 git commands to generate.