diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-14 11:51:13 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-16 13:20:17 +0100 |
commit | a76f73dcd036d53616058aaeaf6986f57061dfa0 (patch) | |
tree | 8289340603e51dd1b2ad664a7f6642874f0f4d57 /drivers/gpu/drm/i915/intel_dp.c | |
parent | drm/i915: Use __printf markup to silence compiler (diff) | |
download | linux-a76f73dcd036d53616058aaeaf6986f57061dfa0.tar.xz linux-a76f73dcd036d53616058aaeaf6986f57061dfa0.zip |
drm/i915/dp: Silence compiler for missing prototype
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 4f33115f5ca3..e80d620846c8 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -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; |