aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-19 12:34:27 +0100
committerDave Airlie <airlied@linux.ie>2008-12-29 17:47:26 +1000
commitd1e22c6ed05f3bfb3a7de0947498e7f3c868b296 (patch)
tree371c171e0ab2bd1e08d91e9695fd880e83ba8642 /drivers
parentbae7ec657305def791a946f5d791054c48a5f081 (diff)
downloadkernel_samsung_smdk4412-d1e22c6ed05f3bfb3a7de0947498e7f3c868b296.zip
kernel_samsung_smdk4412-d1e22c6ed05f3bfb3a7de0947498e7f3c868b296.tar.gz
kernel_samsung_smdk4412-d1e22c6ed05f3bfb3a7de0947498e7f3c868b296.tar.bz2
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/intel_fb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c
index 3e38da0..afd1217 100644
--- a/drivers/gpu/drm/i915/intel_fb.c
+++ b/drivers/gpu/drm/i915/intel_fb.c
@@ -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,