diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2014-06-05 19:30:58 +0200 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-06-22 14:32:09 +0200 |
commit | 370a4d8a79f166d2accc294c4db35e5cbe8c3a90 (patch) | |
tree | 52a4538adb429e16a70f5d13f18d490db762f7ee /drivers/gpu/drm | |
parent | drm/msm: Replace type of paddr to uint32_t. (diff) | |
download | linux-370a4d8a79f166d2accc294c4db35e5cbe8c3a90.tar.xz linux-370a4d8a79f166d2accc294c4db35e5cbe8c3a90.zip |
drm/msm: storage class should be before const qualifier
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 0d2562fb681e..9a5d87db5c23 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, }, { |