diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-19 06:34:27 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-12-29 02:47:26 -0500 |
commit | d1e22c6ed05f3bfb3a7de0947498e7f3c868b296 (patch) | |
tree | 371c171e0ab2bd1e08d91e9695fd880e83ba8642 /drivers/gpu/drm | |
parent | bae7ec657305def791a946f5d791054c48a5f081 (diff) |
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/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/intel_fb.c | 5 |
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 3e38da0f6096..afd1217b8a02 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); | |||
414 | 414 | ||
415 | static struct drm_mode_set kernelfb_mode; | 415 | static struct drm_mode_set kernelfb_mode; |
416 | 416 | ||
417 | int intelfb_panic(struct notifier_block *n, unsigned long ununsed, | 417 | static int intelfb_panic(struct notifier_block *n, unsigned long ununsed, |
418 | void *panic_str) | 418 | void *panic_str) |
419 | { | 419 | { |
420 | DRM_ERROR("panic occurred, switching back to text console\n"); | 420 | DRM_ERROR("panic occurred, switching back to text console\n"); |
421 | 421 | ||
422 | intelfb_restore(); | 422 | intelfb_restore(); |
423 | return 0; | 423 | return 0; |
424 | } | 424 | } |
425 | EXPORT_SYMBOL(intelfb_panic); | ||
426 | 425 | ||
427 | static struct notifier_block paniced = { | 426 | static struct notifier_block paniced = { |
428 | .notifier_call = intelfb_panic, | 427 | .notifier_call = intelfb_panic, |