[PATCH 1/1] drm/exynos: Make 'drm_hdmi_get_edid' static

Sachin Kamat sachin.kamat at linaro.org
Mon Jan 21 01:56:57 PST 2013


Fixes the following warning:
drivers/gpu/drm/exynos/exynos_drm_hdmi.c:111:13: warning:
symbol 'drm_hdmi_get_edid' was not declared. Should it be static?

Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
---
Compile tested on exynos-drm-fixes branch of Inki Dae's tree.
---
 drivers/gpu/drm/exynos/exynos_drm_hdmi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/exynos/exynos_drm_hdmi.c b/drivers/gpu/drm/exynos/exynos_drm_hdmi.c
index 427d2de..2864453 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_hdmi.c
@@ -108,7 +108,7 @@ static bool drm_hdmi_is_connected(struct device *dev)
 	return false;
 }
 
-struct edid *drm_hdmi_get_edid(struct device *dev,
+static struct edid *drm_hdmi_get_edid(struct device *dev,
 			struct drm_connector *connector)
 {
 	struct drm_hdmi_context *ctx = to_context(dev);
-- 
1.7.4.1



More information about the dri-devel mailing list