summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Curti <michele.curti@gmail.com>2014-09-23 20:04:40 +0400
committerAlex Deucher <alexander.deucher@amd.com>2014-10-01 17:00:08 +0400
commit080cbcb4f81299ff86e99f8ba12b692a58d0aa65 (patch)
tree5539b02cefe1a74824d4f3e326230b17ff86995d
parent7f6bf72aef689dc756b325e9f88840091991cb8d (diff)
downloadlinux-080cbcb4f81299ff86e99f8ba12b692a58d0aa65.tar.xz
drm/radeon/combios: declare legacy_connector_convert as static
legacy_connector_convert is used in radeon_combios.c only, so declare it as static. Signed-off-by: Michele Curti <michele.curti@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_combios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c
index 6651177110f0..3e5f6b71f3ad 100644
--- a/drivers/gpu/drm/radeon/radeon_combios.c
+++ b/drivers/gpu/drm/radeon/radeon_combios.c
@@ -116,7 +116,7 @@ enum radeon_combios_connector {
CONNECTOR_UNSUPPORTED_LEGACY
};
-const int legacy_connector_convert[] = {
+static const int legacy_connector_convert[] = {
DRM_MODE_CONNECTOR_Unknown,
DRM_MODE_CONNECTOR_DVID,
DRM_MODE_CONNECTOR_VGA,