summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_dma.h
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2002-05-31 23:19:50 +0000
committeranholt <anholt@FreeBSD.org>2002-05-31 23:19:50 +0000
commitb1848cc8d244b95193cdec9bd23e1bd837c4a03c (patch)
treef8c216beb294e0702ffab9c769c9f9060eedf0e8 /sys/dev/drm/drm_dma.h
parentc83ce35c4a5b4f3347fe5e2337b74d6099d64c08 (diff)
downloadFreeBSD-src-b1848cc8d244b95193cdec9bd23e1bd837c4a03c.zip
FreeBSD-src-b1848cc8d244b95193cdec9bd23e1bd837c4a03c.tar.gz
Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__
Approved by: des
Diffstat (limited to 'sys/dev/drm/drm_dma.h')
-rw-r--r--sys/dev/drm/drm_dma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/drm/drm_dma.h b/sys/dev/drm/drm_dma.h
index e5e9948..0ca180b 100644
--- a/sys/dev/drm/drm_dma.h
+++ b/sys/dev/drm/drm_dma.h
@@ -573,7 +573,7 @@ int DRM(irq_install)( drm_device_t *dev, int irq )
dev->irq = irq;
DRM_OS_UNLOCK;
- DRM_DEBUG( "%s: irq=%d\n", __FUNCTION__, irq );
+ DRM_DEBUG( "%s: irq=%d\n", __func__, irq );
dev->context_flag = 0;
dev->interrupt_flag = 0;
@@ -642,7 +642,7 @@ int DRM(irq_uninstall)( drm_device_t *dev )
if ( !irq )
return DRM_OS_ERR(EINVAL);
- DRM_DEBUG( "%s: irq=%d\n", __FUNCTION__, irq );
+ DRM_DEBUG( "%s: irq=%d\n", __func__, irq );
DRIVER_UNINSTALL();
OpenPOWER on IntegriCloud