summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMichele Curti <michele.curti@gmail.com>2014-09-23 16:04:40 (GMT)
committerAlex Deucher <alexander.deucher@amd.com>2014-10-01 13:00:08 (GMT)
commit080cbcb4f81299ff86e99f8ba12b692a58d0aa65 (patch)
tree5539b02cefe1a74824d4f3e326230b17ff86995d /drivers/gpu
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>
Diffstat (limited to 'drivers/gpu')
-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 6651177..3e5f6b7 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,