summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-10-28 09:50:39 +0000
committerDave Airlie <airlied@linux.ie>2004-10-28 09:50:39 +0000
commit486a84d70c31423a849cd88dbd91ced2dcf83742 (patch)
treea2e59c2c0ed267d7c40c7b0e9925ed003aa19827
parentb37efdadca5da66cfd442a88353fa92c9e7aec24 (diff)
fix for 2.4 build
-rw-r--r--linux/drm_compat.h1
1 files changed, 1 insertions, 0 deletions
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;}