projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80209e5
)
drm/i915: make intel_dp_compute_bpp static
author
Jani Nikula
<jani.nikula@intel.com>
Thu, 15 Sep 2016 13:28:52 +0000
(16:28 +0300)
committer
Jani Nikula
<jani.nikula@intel.com>
Fri, 16 Sep 2016 07:34:56 +0000
(10:34 +0300)
Fix sparse warning:
drivers/gpu/drm/i915/intel_dp.c:1527:5: warning: symbol
'intel_dp_compute_bpp' was not declared. Should it be static?
Fixes:
f9bb705e65f6
("drm/i915: Update bits per component for display info")
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/1473946137-1931-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dp.c
b/drivers/gpu/drm/i915/intel_dp.c
index 69cee9b0a08d78b1e687fd84ab729967a98f3673..acd0c51f74d5e2621e62903c1329a44cfec8d648 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_dp.c
+++ b/
drivers/gpu/drm/i915/intel_dp.c
@@
-1524,8
+1524,8
@@
void intel_dp_compute_rate(struct intel_dp *intel_dp, int port_clock,
}
}
-int intel_dp_compute_bpp(struct intel_dp *intel_dp,
- struct intel_crtc_state *pipe_config)
+
static
int intel_dp_compute_bpp(struct intel_dp *intel_dp,
+
struct intel_crtc_state *pipe_config)
{
int bpp, bpc;