summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_lspcon.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2016-10-18 14:21:51 +0300
committerJani Nikula <jani.nikula@intel.com>2016-10-19 12:55:35 +0300
commit1dc16aac8a537942f47c6df14e7165bbaac26907 (patch)
treee2694f619ff3e7a2e7b412a5b31030a19405c66b /drivers/gpu/drm/i915/intel_lspcon.c
parentb610393a66c7b8936f2435c33ee032b23581ed4e (diff)
downloadblackbird-op-linux-1dc16aac8a537942f47c6df14e7165bbaac26907.tar.gz
blackbird-op-linux-1dc16aac8a537942f47c6df14e7165bbaac26907.zip
drm/i915: make lspcon_get_current_mode static
Fixes sparse warning: drivers/gpu/drm/i915/intel_lspcon.c:30:22: warning: symbol 'lspcon_get_current_mode' was not declared. Should it be static? Fixes: dbe9e61b8e43 ("drm/i915: Add lspcon support for I915 driver") Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Shashank Sharma <shashank.sharma@intel.com> Reviewed-by: Shashank Sharma <shashank.sharma@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1476789711-19697-2-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lspcon.c')
-rw-r--r--drivers/gpu/drm/i915/intel_lspcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_lspcon.c b/drivers/gpu/drm/i915/intel_lspcon.c
index d606f1a8f3b6..632149c6b3ad 100644
--- a/drivers/gpu/drm/i915/intel_lspcon.c
+++ b/drivers/gpu/drm/i915/intel_lspcon.c
@@ -27,7 +27,7 @@
#include <drm/drm_dp_dual_mode_helper.h>
#include "intel_drv.h"
-enum drm_lspcon_mode lspcon_get_current_mode(struct intel_lspcon *lspcon)
+static enum drm_lspcon_mode lspcon_get_current_mode(struct intel_lspcon *lspcon)
{
enum drm_lspcon_mode current_mode = DRM_LSPCON_MODE_INVALID;
struct i2c_adapter *adapter = &lspcon->aux->ddc;
OpenPOWER on IntegriCloud