summaryrefslogtreecommitdiff
path: root/bsd/drm_drv.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-05-09 22:16:11 +0000
committerEric Anholt <anholt@freebsd.org>2004-05-09 22:16:11 +0000
commit51ed2f593703164b7bb7f9d0522f273f3f628c03 (patch)
tree903072b900c24c103078c00132da5b52d93780ac /bsd/drm_drv.h
parentd477cc007cacbf95d7db295f579e23fafb423f02 (diff)
Warning fixes.
Diffstat (limited to 'bsd/drm_drv.h')
-rw-r--r--bsd/drm_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd/drm_drv.h b/bsd/drm_drv.h
index 02e34365..4fa785a8 100644
--- a/bsd/drm_drv.h
+++ b/bsd/drm_drv.h
@@ -78,10 +78,10 @@
#endif
#ifndef DRIVER_PREINIT
-#define DRIVER_PREINIT(dev) 0
+#define DRIVER_PREINIT(dev) do {} while (0)
#endif
#ifndef DRIVER_POSTINIT
-#define DRIVER_POSTINIT(dev) 0
+#define DRIVER_POSTINIT(dev) do {} while (0)
#endif
#ifndef DRIVER_PRERELEASE
#define DRIVER_PRERELEASE()