Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43c8a849 authored by Daniel Vetter's avatar Daniel Vetter
Browse files

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 e8e7a2b8
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: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent d21bf469
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -287,7 +287,7 @@ static bool drm_fb_helper_force_kernel_mode(void)
	return error;
}

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

static struct notifier_block paniced = {
	.notifier_call = drm_fb_helper_panic,