drivers: gpu: Mark function as static in radeon_gem.c

Mark function radeon_gem_set_domain() as static in
drm/radeon/radeon_gem.c because it is not used outside this file.

This eliminates the following warning in drm/radeon/radeon_gem.c:
drivers/gpu/drm/radeon/radeon_gem.c:89:5: warning: no previous prototype for ‘radeon_gem_set_domain’ [-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>
This commit is contained in:
Rashika Kheria 2014-01-06 20:58:45 +05:30 коммит произвёл Alex Deucher
Родитель 5520345fb9
Коммит 248a6c4ae3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -86,7 +86,7 @@ retry:
return 0;
}
int radeon_gem_set_domain(struct drm_gem_object *gobj,
static int radeon_gem_set_domain(struct drm_gem_object *gobj,
uint32_t rdomain, uint32_t wdomain)
{
struct radeon_bo *robj;