drivers: gpu: Move prototype declarations to header file radeon_mode.h from radeon_at...
authorRashika Kheria <rashika.kheria@gmail.com>
Tue, 7 Jan 2014 18:06:31 +0000 (13:06 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2014 18:06:31 +0000 (13:06 -0500)
commit0091fc13c737e1c72fea1cea96b312d3ff86a321
treed01480b96ce91cd66e04f8282140975121951f6b
parenta38eab52ff14345b336278e92d2ac1d1c8f92777
drivers: gpu: Move prototype declarations to header file radeon_mode.h from radeon_atombios.c and radeon_combios.c

Move prototype declarations of functions radeon_get_encoder_enum() and
radeon_link_encoder_connector() to header file drm/radeon/radeon_mode.h
because they are used by more than one file.

This eliminates the following warnings in drm/radeon/radeon_encoders.c:
drivers/gpu/drm/radeon/radeon_encoders.c:86:1: warning: no previous prototype for ‘radeon_get_encoder_enum’ [-Wmissing-prototypes]
drivers/gpu/drm/radeon/radeon_encoders.c:162:1: warning: no previous prototype for ‘radeon_link_encoder_connector’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_atombios.c
drivers/gpu/drm/radeon/radeon_combios.c
drivers/gpu/drm/radeon/radeon_mode.h