diff options
Diffstat (limited to 'drivers/char/drm/radeon_irq.c')
-rw-r--r-- | drivers/char/drm/radeon_irq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/radeon_irq.c b/drivers/char/drm/radeon_irq.c index 84f5bc36252b..009af3814b6f 100644 --- a/drivers/char/drm/radeon_irq.c +++ b/drivers/char/drm/radeon_irq.c | |||
@@ -154,7 +154,7 @@ static int radeon_driver_vblank_do_wait(struct drm_device * dev, | |||
154 | int ack = 0; | 154 | int ack = 0; |
155 | atomic_t *counter; | 155 | atomic_t *counter; |
156 | if (!dev_priv) { | 156 | if (!dev_priv) { |
157 | DRM_ERROR("%s called with no initialization\n", __FUNCTION__); | 157 | DRM_ERROR("called with no initialization\n"); |
158 | return -EINVAL; | 158 | return -EINVAL; |
159 | } | 159 | } |
160 | 160 | ||
@@ -205,7 +205,7 @@ int radeon_irq_emit(struct drm_device *dev, void *data, struct drm_file *file_pr | |||
205 | LOCK_TEST_WITH_RETURN(dev, file_priv); | 205 | LOCK_TEST_WITH_RETURN(dev, file_priv); |
206 | 206 | ||
207 | if (!dev_priv) { | 207 | if (!dev_priv) { |
208 | DRM_ERROR("%s called with no initialization\n", __FUNCTION__); | 208 | DRM_ERROR("called with no initialization\n"); |
209 | return -EINVAL; | 209 | return -EINVAL; |
210 | } | 210 | } |
211 | 211 | ||
@@ -227,7 +227,7 @@ int radeon_irq_wait(struct drm_device *dev, void *data, struct drm_file *file_pr | |||
227 | drm_radeon_irq_wait_t *irqwait = data; | 227 | drm_radeon_irq_wait_t *irqwait = data; |
228 | 228 | ||
229 | if (!dev_priv) { | 229 | if (!dev_priv) { |
230 | DRM_ERROR("%s called with no initialization\n", __FUNCTION__); | 230 | DRM_ERROR("called with no initialization\n"); |
231 | return -EINVAL; | 231 | return -EINVAL; |
232 | } | 232 | } |
233 | 233 | ||