summaryrefslogtreecommitdiff
path: root/linux-core/drm_context.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-06-04 06:18:11 +0000
committerDave Airlie <airlied@linux.ie>2005-06-04 06:18:11 +0000
commit805a07714f05833a1ed4e4a01f8086fafd46e849 (patch)
tree26bd7bdef728bbb46f601d8e3d9e97798f39af8e /linux-core/drm_context.c
parent83cb1504498ad2ca327bc8341bc21ed6cdb54756 (diff)
misc cleanup patch from Adrian Bunk
Diffstat (limited to 'linux-core/drm_context.c')
-rw-r--r--linux-core/drm_context.c4
1 files changed, 2 insertions, 2 deletions
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");