aboutsummaryrefslogtreecommitdiff
path: root/shared/radeon_cp.c
diff options
context:
space:
mode:
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);
}