From 805a07714f05833a1ed4e4a01f8086fafd46e849 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 4 Jun 2005 06:18:11 +0000 Subject: misc cleanup patch from Adrian Bunk --- linux-core/drm_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux-core/drm_context.c') diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c index bab985ac..fd3f0280 100644 --- a/linux-core/drm_context.c +++ b/linux-core/drm_context.c @@ -85,7 +85,7 @@ void drm_ctxbitmap_free(drm_device_t * dev, int ctx_handle) * drm_device::context_sareas to accommodate the new entry while holding the * drm_device::struct_sem lock. */ -int drm_ctxbitmap_next(drm_device_t * dev) +static int drm_ctxbitmap_next(drm_device_t * dev) { int bit; @@ -302,7 +302,7 @@ int drm_setsareactx(struct inode *inode, struct file *filp, * * Attempt to set drm_device::context_flag. */ -int drm_context_switch(drm_device_t * dev, int old, int new) +static int drm_context_switch(drm_device_t * dev, int old, int new) { if (test_and_set_bit(0, &dev->context_flag)) { DRM_ERROR("Reentering -- FIXME\n"); -- cgit v1.2.3