drm: Add misssing static storage class specifier in drm_fb_helper.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 1 Aug 2012 11:45:32 +0000 (17:15 +0530)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Aug 2012 00:01:15 +0000 (10:01 +1000)
Fixes the following sparse warning:
drivers/gpu/drm/drm_fb_helper.c:239:6: warning:
symbol 'drm_fb_helper_force_kernel_mode' was not declared. Should it be static?

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c

index f546d1e8af82f10e1cfe1d9c6c66ec9015bc1a68..061d26dd07515f910d7f460d27fc3d584d1ffaa8 100644 (file)
@@ -236,7 +236,7 @@ bool drm_fb_helper_restore_fbdev_mode(struct drm_fb_helper *fb_helper)
 }
 EXPORT_SYMBOL(drm_fb_helper_restore_fbdev_mode);
 
-bool drm_fb_helper_force_kernel_mode(void)
+static bool drm_fb_helper_force_kernel_mode(void)
 {
        bool ret, error = false;
        struct drm_fb_helper *helper;