summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-05-18 09:46:31 +0000
committerDave Airlie <airlied@linux.ie>2004-05-18 09:46:31 +0000
commit8350382cb1a5aba150c411be3b662dfe444cb84a (patch)
tree50ae67a56997f939be2f72f9f3746e77130ffc0e
parentdf6c37fc88c659691230d1f589aff93e69e6c63e (diff)
another 2.4 fix
-rw-r--r--linux-core/drmP.h2
-rw-r--r--linux/drmP.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index f2c138c5..068482c0 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -247,6 +247,8 @@ struct class_simple;
struct device;
#define pci_dev_put(x) do {} while (0)
+#define pci_get_subsys pci_find_subsys
+
#define class_simple_device_add(...) do {} while (0)
static inline void class_simple_device_remove(dev_t dev){};
diff --git a/linux/drmP.h b/linux/drmP.h
index f2c138c5..068482c0 100644
--- a/linux/drmP.h
+++ b/linux/drmP.h
@@ -247,6 +247,8 @@ struct class_simple;
struct device;
#define pci_dev_put(x) do {} while (0)
+#define pci_get_subsys pci_find_subsys
+
#define class_simple_device_add(...) do {} while (0)
static inline void class_simple_device_remove(dev_t dev){};