Skip to content

Commit 43c8a84

Browse files
committed
drm/fb-helper: unexport drm_fb_helper_panic
It doesn't even show up in any header files and only used iternally. Originally it was (ab)used to restore the fbcon on lastclose, but that died with commit e8e7a2b Author: Dave Airlie <airlied@redhat.com> Date: Thu Apr 21 22:18:32 2011 +0100 drm/i915: restore only the mode of this driver on lastclose (v2) Reviewed-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
1 parent d21bf46 commit 43c8a84

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/gpu/drm/drm_fb_helper.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ static bool drm_fb_helper_force_kernel_mode(void)
287287
return error;
288288
}
289289

290-
int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
290+
static int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
291291
void *panic_str)
292292
{
293293
/*
@@ -300,7 +300,6 @@ int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
300300
pr_err("panic occurred, switching back to text console\n");
301301
return drm_fb_helper_force_kernel_mode();
302302
}
303-
EXPORT_SYMBOL(drm_fb_helper_panic);
304303

305304
static struct notifier_block paniced = {
306305
.notifier_call = drm_fb_helper_panic,

0 commit comments

Comments
 (0)