mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
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>
This commit is contained in:
parent
a4074d93dd
commit
0e1451da4f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue