Commit d1e22c6e authored by Hannes Eder's avatar Hannes Eder Committed by Dave Airlie

drm/i915: un-EXPORT and make 'intelfb_panic' static

Fix this sparse warning:

  drivers/gpu/drm/i915/intel_fb.c:417:5: warning: symbol 'intelfb_panic' was not declared. Should it be static?
Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent bae7ec65
...@@ -414,7 +414,7 @@ EXPORT_SYMBOL(intelfb_resize); ...@@ -414,7 +414,7 @@ EXPORT_SYMBOL(intelfb_resize);
static struct drm_mode_set kernelfb_mode; static struct drm_mode_set kernelfb_mode;
int intelfb_panic(struct notifier_block *n, unsigned long ununsed, static int intelfb_panic(struct notifier_block *n, unsigned long ununsed,
void *panic_str) void *panic_str)
{ {
DRM_ERROR("panic occurred, switching back to text console\n"); DRM_ERROR("panic occurred, switching back to text console\n");
...@@ -422,7 +422,6 @@ int intelfb_panic(struct notifier_block *n, unsigned long ununsed, ...@@ -422,7 +422,6 @@ int intelfb_panic(struct notifier_block *n, unsigned long ununsed,
intelfb_restore(); intelfb_restore();
return 0; return 0;
} }
EXPORT_SYMBOL(intelfb_panic);
static struct notifier_block paniced = { static struct notifier_block paniced = {
.notifier_call = intelfb_panic, .notifier_call = intelfb_panic,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment