summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-26 02:46:20 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 19:00:11 (GMT)
commit0e1451da4f928ae1c9d5ca617faebde9f02985db (patch)
tree2f41238b6ade3b8cc1af0255d239745ac1947bf2
parenta4074d93dd4e8f46f727840baa2be02d544fd17f (diff)
downloadlinux-fsl-qoriq-0e1451da4f928ae1c9d5ca617faebde9f02985db.tar.xz
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>
-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 5641387..452c2d8 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;