commit | 2c4124fdeaea4b70120da3bddf90c4587e65bbc6 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Tue Aug 04 15:22:11 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Aug 06 14:13:08 2015 +0200 |
tree | e41ed501448404d6e5db71f4c4327636eb36c9d9 | |
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>