summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2017-03-22 16:33:38 +0200
committerJani Nikula <jani.nikula@intel.com>2017-03-23 14:53:54 +0200
commite448054b5c63b834bba874453d1f2da4e7d39461 (patch)
tree5e50ea85abf47e81137ef313b135d6806765c73c /include/drm
parent628d4c46eef4fabe3ddbe07698577162c1cd5d41 (diff)
downloadlinux-stable-e448054b5c63b834bba874453d1f2da4e7d39461.tar.gz
linux-stable-e448054b5c63b834bba874453d1f2da4e7d39461.tar.bz2
linux-stable-e448054b5c63b834bba874453d1f2da4e7d39461.zip
drm/scdc: declare drm_scdc_get_scrambling_status
Fix sparse warning: drivers/gpu/drm/drm_scdc_helper.c:138:6: warning: symbol 'drm_scdc_get_scrambling_status' was not declared. Should it be static? Fixes: 62c58af32c93 ("drm/edid: detect SCDC support in HF-VSDB") 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/1490193218-24806-1-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_scdc_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_scdc_helper.h b/include/drm/drm_scdc_helper.h
index ab6bcfbceba9..c25122bb490a 100644
--- a/include/drm/drm_scdc_helper.h
+++ b/include/drm/drm_scdc_helper.h
@@ -129,6 +129,8 @@ static inline int drm_scdc_writeb(struct i2c_adapter *adapter, u8 offset,
return drm_scdc_write(adapter, offset, &value, sizeof(value));
}
+bool drm_scdc_get_scrambling_status(struct i2c_adapter *adapter);
+
/**
* drm_scdc_set_scrambling - enable scrambling
* @adapter: I2C adapter for DDC channel