]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915/dp: Silence compiler for missing prototype
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 14 Jan 2017 10:51:13 +0000 (10:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Jan 2017 12:20:17 +0000 (12:20 +0000)
drivers/gpu/drm/i915/intel_dp.c:3063:6: warning: no previous prototype for ‘intel_dp_get_alpm_status’ [-Wmissing-prototypes]
 bool intel_dp_get_alpm_status(struct intel_dp *intel_dp)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170114105113.1231-2-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_dp.c

index 4f33115f5ca3ac0d45735601aa4223f494c3c3fc..e80d620846c8310fc88bbb0ac07a66e5a820ff87 100644 (file)
@@ -3060,7 +3060,7 @@ static bool intel_dp_get_colorimetry_status(struct intel_dp *intel_dp)
        return dprx & DP_VSC_SDP_EXT_FOR_COLORIMETRY_SUPPORTED;
 }
 
-bool intel_dp_get_alpm_status(struct intel_dp *intel_dp)
+static bool intel_dp_get_alpm_status(struct intel_dp *intel_dp)
 {
        uint8_t alpm_caps = 0;