drivers: gpu: Mark function as static in radeon_gem.c
authorRashika Kheria <[email protected]>
Mon, 6 Jan 2014 15:28:45 +0000 (20:58 +0530)
committerAlex Deucher <[email protected]>
Tue, 7 Jan 2014 16:45:36 +0000 (11:45 -0500)
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 <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/radeon/radeon_gem.c

index 805c5e566b9a1f29539a4cf1148183056dc90579..b96c819024b3cdb7b2ea8f387c1e267a563ed8df 100644 (file)
@@ -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;