浏览代码

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>
Adrian Bunk 17 年之前
父节点
当前提交
0e1451da4f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/gpu/drm/drm_drv.c

+ 1 - 1
drivers/gpu/drm/drm_drv.c

@@ -318,7 +318,7 @@ static void drm_cleanup(struct drm_device * dev)
 		DRM_ERROR("Cannot unload module\n");
 		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_minor *minor = ptr;
 	struct drm_device *dev;
 	struct drm_device *dev;