[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080428153903.GJ2813@cs181133002.pp.htv.fi>
Date: Mon, 28 Apr 2008 18:39:03 +0300
From: Adrian Bunk <bunk@...nel.org>
To: Dave Airlie <airlied@...hat.com>
Cc: dri-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [2.6 patch] make drm_minors_cleanup() static
This patch makes the needlessly global drm_minors_cleanup() static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists