diff options
| author | 2015-08-04 15:22:11 +0200 | |
|---|---|---|
| committer | 2015-08-06 14:13:08 +0200 | |
| commit | 2c4124fdeaea4b70120da3bddf90c4587e65bbc6 (patch) | |
| tree | e41ed501448404d6e5db71f4c4327636eb36c9d9 /include | |
| parent | drm/fb-helper: Clarify drm_fb_helper_restore_fbdev_mode*() (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')
0 files changed, 0 insertions, 0 deletions
