aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-20 12:18:07 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-02-13 18:07:51 -0500
commit43c8a849a1e92fba6ea4493ed950d2a2e31ac87c (patch)
tree9b4e3164ec3d3b72c9becc9dbc4ea9d6781f0df0 /drivers/gpu
parentd21bf469d5301d025cd82997bb1529bcdc7086af (diff)
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 e8e7a2b8ccfdae0d4cb6bd25824bbedcd42da316 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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/drm_fb_helper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 14a81fc3e01a..eaab092b995d 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -287,7 +287,7 @@ static bool drm_fb_helper_force_kernel_mode(void)
287 return error; 287 return error;
288} 288}
289 289
290int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed, 290static int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
291 void *panic_str) 291 void *panic_str)
292{ 292{
293 /* 293 /*
@@ -300,7 +300,6 @@ int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
300 pr_err("panic occurred, switching back to text console\n"); 300 pr_err("panic occurred, switching back to text console\n");
301 return drm_fb_helper_force_kernel_mode(); 301 return drm_fb_helper_force_kernel_mode();
302} 302}
303EXPORT_SYMBOL(drm_fb_helper_panic);
304 303
305static struct notifier_block paniced = { 304static struct notifier_block paniced = {
306 .notifier_call = drm_fb_helper_panic, 305 .notifier_call = drm_fb_helper_panic,