]> git.baikalelectronics.ru Git - kernel.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)
commit7b10f764cb8631f61de58b81793be39cf2e60067
tree161d71e76c930ed2e52f4c16e3391d70d8ccf4ed
parentb3eb276bb0da84f287a1ced527555fed05d88258
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