drm: make drm_minors_cleanup() static
authorAdrian Bunk <bunk@kernel.org>
Sat, 26 Jul 2008 02:46:20 +0000 (19:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:11 +0000 (12:00 -0700)
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>
drivers/gpu/drm/drm_drv.c

index 564138714bb5c6045755bb5db176af55a7c79bee..452c2d866ec566e7355d065f7065518444ae289f 100644 (file)
@@ -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;