]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drivers: gpu: Move prototype declaration to header file radeon_mode.h from atombios_i2c.c
authorRashika Kheria <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 15:46:34 +0000 (21:16 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2014 16:45:39 +0000 (11:45 -0500)
commit4cf3b4943db3d26d545c461810e8c5cffa1af83a
tree506b442e9d2abba584a006222a9f0acf1ce63bc3
parent6c149d96d36584fa631ff51aae258fbfcfbe2079
drivers: gpu: Move prototype declaration to header file radeon_mode.h from atombios_i2c.c

Move prototype declaration of function radeon_atom_copy_swap() to header
file drm/radeon/radeon_mode.h because it is used by more than one file.

This eliminates the following warnings in drm/radeon/atombios_dp.c:
drivers/gpu/drm/radeon/atombios_dp.c:53:6: warning: no previous prototype for ‘radeon_atom_copy_swap’ [-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/atombios_i2c.c
drivers/gpu/drm/radeon/radeon_mode.h