提交 0e1451da 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

drm: make drm_minors_cleanup() static

Make the needlessly global drm_minors_cleanup() static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 a4074d93
...@@ -318,7 +318,7 @@ static void drm_cleanup(struct drm_device * dev) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册