drm/i915: Make intel_panel_get_backlight static.
authorStéphane Marchesin <marcheu@chromium.org>
Mon, 30 Jul 2012 20:51:38 +0000 (13:51 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 Aug 2012 06:57:48 +0000 (08:57 +0200)
This function isn't used outside of intel_panel.c, so make it static.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_panel.c

index 84353559441cc2169dde4bef5042949de62ef251..3afe3550e4aebf69f44fd0975497e1c2a601b8e3 100644 (file)
@@ -380,7 +380,6 @@ extern void intel_pch_panel_fitting(struct drm_device *dev,
                                    const struct drm_display_mode *mode,
                                    struct drm_display_mode *adjusted_mode);
 extern u32 intel_panel_get_max_backlight(struct drm_device *dev);
-extern u32 intel_panel_get_backlight(struct drm_device *dev);
 extern void intel_panel_set_backlight(struct drm_device *dev, u32 level);
 extern int intel_panel_setup_backlight(struct drm_device *dev);
 extern void intel_panel_enable_backlight(struct drm_device *dev,
index 10c7d39034e1c8c0a3e17491e17ffa3286b5f97a..9474488db948cf9436d57703af513ead07c41413 100644 (file)
@@ -213,7 +213,7 @@ static u32 intel_panel_compute_brightness(struct drm_device *dev, u32 val)
        return val;
 }
 
-u32 intel_panel_get_backlight(struct drm_device *dev)
+static u32 intel_panel_get_backlight(struct drm_device *dev)
 {
        struct drm_i915_private *dev_priv = dev->dev_private;
        u32 val;