From a9d2438999b79419772a00d0deb1caab30334765 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 2 May 2004 13:03:51 +0000 Subject: fix 2.4 build --- linux/drmP.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'linux/drmP.h') diff --git a/linux/drmP.h b/linux/drmP.h index a06086eb..2800246d 100644 --- a/linux/drmP.h +++ b/linux/drmP.h @@ -246,8 +246,7 @@ static inline unsigned iminor(struct inode *inode) struct class_simple; struct device; -static inline void *class_simple_device_add(struct class_simple *cs, dev_t dev, struct device *device, const char *fmt, ...) -{ return NULL;} +#define class_simple_device_add(...) do {} while (0) static inline void class_simple_device_remove(dev_t dev){}; -- cgit v1.2.3