]> Pileus Git - ~andy/linux/commit
drivers: gpu: Mark functions as static in mgag200_ttm.c
authorRashika <rashika.kheria@gmail.com>
Mon, 6 Jan 2014 15:08:24 +0000 (20:38 +0530)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Jan 2014 02:59:21 +0000 (12:59 +1000)
commitf242a64b4fec50167384ba9181398121fcafb489
tree2e7a108a6b73e8aa0fa678586d4a85891f150d7f
parent080fd6b5038848f62eb595d84924fe17983b4a2e
drivers: gpu: Mark functions as static in mgag200_ttm.c

Mark functions mgag200_ttm_global_release(),
mgag200_ttm_bo_is_mgag200_bo() and mgag200_ttm_tt_create() as static in
drm/mgag200/mgag200_ttm.c because they are not used outside this file.

This eliminates the following warning in drm/mgag200/mgag200_ttm.c:
drivers/gpu/drm/mgag200/mgag200_ttm.c:84:1: warning: no previous prototype for ‘mgag200_ttm_global_release’ [-Wmissing-prototypes]
drivers/gpu/drm/mgag200/mgag200_ttm.c:105:6: warning: no previous prototype for ‘mgag200_ttm_bo_is_mgag200_bo’ [-Wmissing-prototypes]
drivers/gpu/drm/mgag200/mgag200_ttm.c:211:16: warning: no previous prototype for ‘mgag200_ttm_tt_create’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mgag200/mgag200_ttm.c