diff options
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
| -rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 50549703584..288ea2f3277 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -29,6 +29,7 @@   */  #include <linux/kernel.h>  #include <linux/sysrq.h> +#include <linux/slab.h>  #include <linux/fb.h>  #include "drmP.h"  #include "drm_crtc.h" @@ -283,6 +284,8 @@ static struct sysrq_key_op sysrq_drm_fb_helper_restore_op = {  	.help_msg = "force-fb(V)",  	.action_msg = "Restore framebuffer console",  }; +#else +static struct sysrq_key_op sysrq_drm_fb_helper_restore_op = { };  #endif  static void drm_fb_helper_on(struct fb_info *info)  |