dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* drm/radeon/combios: declare legacy_connector_convert as static
@ 2014-09-23 16:04 Michele Curti
  2014-09-24  3:17 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: Michele Curti @ 2014-09-23 16:04 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig; +Cc: dri-devel


legacy_connector_convert is used in radeon_combios.c only, so declare it as static.

Signed-off-by: Michele Curti <michele.curti@gmail.com>

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,
-- 
2.1.0

Regards,
Michele

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-24  3:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 16:04 drm/radeon/combios: declare legacy_connector_convert as static Michele Curti
2014-09-24  3:17 ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).