aboutsummaryrefslogtreecommitdiff
path: root/shared/radeon_cp.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2002-08-29 07:34:49 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2002-08-29 07:34:49 +0000
commit4fcde1efc16ef0849c7aa61d568ef5577e2f1920 (patch)
treea8e8ef7e3419f0a327ff97714cbff677b536308b /shared/radeon_cp.c
parent22c1ca1fd5116d55c81bbfdeccd995dc19572a8f (diff)
standardize use of __FUNCTION__ (Linus)
Diffstat (limited to 'shared/radeon_cp.c')
-rw-r--r--shared/radeon_cp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/radeon_cp.c b/shared/radeon_cp.c
index 75d3fbfb..86ea01bc 100644
--- a/shared/radeon_cp.c
+++ b/shared/radeon_cp.c
@@ -1325,12 +1325,12 @@ int radeon_cp_start( DRM_IOCTL_ARGS )
LOCK_TEST_WITH_RETURN( dev );
if ( dev_priv->cp_running ) {
- DRM_DEBUG( "%s while CP running\n", __func__ );
+ DRM_DEBUG( "%s while CP running\n", __FUNCTION__ );
return 0;
}
if ( dev_priv->cp_mode == RADEON_CSQ_PRIDIS_INDDIS ) {
DRM_DEBUG( "%s called with bogus CP mode (%d)\n",
- __func__, dev_priv->cp_mode );
+ __FUNCTION__, dev_priv->cp_mode );
return 0;
}
@@ -1392,7 +1392,7 @@ int radeon_cp_reset( DRM_IOCTL_ARGS )
LOCK_TEST_WITH_RETURN( dev );
if ( !dev_priv ) {
- DRM_DEBUG( "%s called before init done\n", __func__ );
+ DRM_DEBUG( "%s called before init done\n", __FUNCTION__ );
return DRM_ERR(EINVAL);
}