]> git.karo-electronics.de Git - linux-beck.git/commit
drivers: gpu: Mark functions as static in radeon_device.c
authorRashika Kheria <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 15:21:40 +0000 (20:51 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2014 16:45:35 +0000 (11:45 -0500)
commit28f5a6cd938c0b4f53f953318675c063158d1c27
tree161d71e76c930ed2e52f4c16e3391d70d8ccf4ed
parent2f43651c18b450bd5b71ede18dce54bfc7b1719b
drivers: gpu: Mark functions as static in radeon_device.c

Mark functions radeon_doorbell_init() and radeon_doorbell_fini() as
static in drm/radeon/radeon_device.c because they are not used outside
this file.

This eliminates the following warning in drm/radeon/radeon_device.c:
drivers/gpu/drm/radeon/radeon_device.c:252:5: warning: no previous prototype for ‘radeon_doorbell_init’ [-Wmissing-prototypes]
drivers/gpu/drm/radeon/radeon_device.c:281:6: warning: no previous prototype for ‘radeon_doorbell_fini’ [-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_device.c