]> err.no Git - linux-2.6/blobdiff - drivers/char/drm/drm_context.c
drm: small cleanups
[linux-2.6] / drivers / char / drm / drm_context.c
index f515567e5b6f3b9545b8023f365c471b55b9db2d..502892794c1676b6fb05fc7dd59381bf06fb8d9a 100644 (file)
@@ -308,7 +308,7 @@ found:
  *
  * 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" );