summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-25 19:46:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 12:00:11 -0700
commit0e1451da4f928ae1c9d5ca617faebde9f02985db (patch)
tree2f41238b6ade3b8cc1af0255d239745ac1947bf2 /drivers/gpu/drm
parenta4074d93dd4e8f46f727840baa2be02d544fd17f (diff)
downloadlinux-0e1451da4f928ae1c9d5ca617faebde9f02985db.tar.bz2
drm: make drm_minors_cleanup() static
Make the needlessly global drm_minors_cleanup() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/drm_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c
index 564138714bb5..452c2d866ec5 100644
--- a/drivers/gpu/drm/drm_drv.c
+++ b/drivers/gpu/drm/drm_drv.c
@@ -318,7 +318,7 @@ static void drm_cleanup(struct drm_device * dev)
DRM_ERROR("Cannot unload module\n");
}
-int drm_minors_cleanup(int id, void *ptr, void *data)
+static int drm_minors_cleanup(int id, void *ptr, void *data)
{
struct drm_minor *minor = ptr;
struct drm_device *dev;