diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-08-04 15:22:11 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-08-06 14:13:08 +0200 |
commit | 2c4124fdeaea4b70120da3bddf90c4587e65bbc6 (patch) | |
tree | e41ed501448404d6e5db71f4c4327636eb36c9d9 /include/drm/drm_fb_helper.h | |
parent | 3d9e35a92e935e1f968e79f0e0b72ce4b9f14c3e (diff) |
drm/fb-helper: Move drm_fb_helper_force_kernel_mode() inside #ifdef
If CONFIG_MAGIC_SYSRQ is not set:
drivers/gpu/drm/drm_fb_helper.c:390:13: warning: 'drm_fb_helper_force_kernel_mode' defined but not used [-Wunused-function]
static bool drm_fb_helper_force_kernel_mode(void)
^
Move drm_fb_helper_force_kernel_mode() inside the existing #ifdef to fix
this.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_fb_helper.h')
0 files changed, 0 insertions, 0 deletions