mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
bae7ec6573
commit
d1e22c6ed0
1 changed files with 2 additions and 3 deletions
|
@ -414,15 +414,14 @@ EXPORT_SYMBOL(intelfb_resize);
|
|||
|
||||
static struct drm_mode_set kernelfb_mode;
|
||||
|
||||
int intelfb_panic(struct notifier_block *n, unsigned long ununsed,
|
||||
void *panic_str)
|
||||
static int intelfb_panic(struct notifier_block *n, unsigned long ununsed,
|
||||
void *panic_str)
|
||||
{
|
||||
DRM_ERROR("panic occurred, switching back to text console\n");
|
||||
|
||||
intelfb_restore();
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(intelfb_panic);
|
||||
|
||||
static struct notifier_block paniced = {
|
||||
.notifier_call = intelfb_panic,
|
||||
|
|
Loading…
Reference in a new issue