drm: Add misssing static storage class specifier in drm_fb_helper.c file
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>
This commit is contained in:
committed by
Dave Airlie
parent
ea7f7abcbb
commit
78b9c3537e
@ -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);
|
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;
|
bool ret, error = false;
|
||||||
struct drm_fb_helper *helper;
|
struct drm_fb_helper *helper;
|
||||||
|
Reference in New Issue
Block a user