From 51ed2f593703164b7bb7f9d0522f273f3f628c03 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sun, 9 May 2004 22:16:11 +0000 Subject: Warning fixes. --- bsd-core/drm_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bsd-core/drm_drv.c') diff --git a/bsd-core/drm_drv.c b/bsd-core/drm_drv.c index 02e34365..4fa785a8 100644 --- a/bsd-core/drm_drv.c +++ b/bsd-core/drm_drv.c @@ -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() -- cgit v1.2.3