[2.6 patch] make drm_minors_cleanup() static

From: Adrian Bunk
Date: Mon Apr 28 2008 - 11:43:23 EST


This patch makes the needlessly global drm_minors_cleanup() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
33cfc2c40ea8449f0e36af7107778a2bdaffae19 diff --git a/drivers/char/drm/drm_drv.c b/drivers/char/drm/drm_drv.c
index fc54140..7166a55 100644
--- a/drivers/char/drm/drm_drv.c
+++ b/drivers/char/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;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/