drm/radeon/atombios: declare connector convert tables as static
authorMichele Curti <michele.curti@gmail.com>
Tue, 23 Sep 2014 16:08:06 +0000 (18:08 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Oct 2014 13:00:07 +0000 (09:00 -0400)
The tables:
 * supported_devices_connector_convert
 * supported_devices_connector_object_id_convert
 * object_connector_convert
are used in redeon_atombios.c only, so declare them as static.

Signed-off-by: Michele Curti <michele.curti@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_atombios.c

index e74c7e387ddebfbb74d32866b39d2046d2632540..df69b92ba164158cc5e7ae79f7b59db65305dd49 100644 (file)
@@ -458,7 +458,7 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
        return true;
 }
 
-const int supported_devices_connector_convert[] = {
+static const int supported_devices_connector_convert[] = {
        DRM_MODE_CONNECTOR_Unknown,
        DRM_MODE_CONNECTOR_VGA,
        DRM_MODE_CONNECTOR_DVII,
@@ -477,7 +477,7 @@ const int supported_devices_connector_convert[] = {
        DRM_MODE_CONNECTOR_DisplayPort
 };
 
-const uint16_t supported_devices_connector_object_id_convert[] = {
+static const uint16_t supported_devices_connector_object_id_convert[] = {
        CONNECTOR_OBJECT_ID_NONE,
        CONNECTOR_OBJECT_ID_VGA,
        CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I, /* not all boards support DL */
@@ -494,7 +494,7 @@ const uint16_t supported_devices_connector_object_id_convert[] = {
        CONNECTOR_OBJECT_ID_SVIDEO
 };
 
-const int object_connector_convert[] = {
+static const int object_connector_convert[] = {
        DRM_MODE_CONNECTOR_Unknown,
        DRM_MODE_CONNECTOR_DVII,
        DRM_MODE_CONNECTOR_DVII,