From 486a84d70c31423a849cd88dbd91ced2dcf83742 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 28 Oct 2004 09:50:39 +0000 Subject: fix for 2.4 build --- linux/drm_compat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'linux') diff --git a/linux/drm_compat.h b/linux/drm_compat.h index 2efa8306..90eb0be1 100644 --- a/linux/drm_compat.h +++ b/linux/drm_compat.h @@ -128,6 +128,7 @@ struct class_simple; struct device; #define pci_dev_put(x) do {} while (0) +#define pci_dev_get(x) do {} while (0) #define pci_get_subsys pci_find_subsys static inline struct class_device *DRM(sysfs_device_add)(struct drm_sysfs_class *cs, dev_t dev, struct device *device, const char *fmt, ...){return NULL;} -- cgit v1.2.3