summaryrefslogtreecommitdiff
path: root/linux-core/drm_compat.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-08-04 10:53:21 +0000
committerDave Airlie <airlied@linux.ie>2004-08-04 10:53:21 +0000
commitbe3e54bc15aadf26743a8d0150b8fa38952863b4 (patch)
treeedfd0a8ca9dc389b1530fa00d720902d25f01669 /linux-core/drm_compat.h
parent6c9715eaf502587c58acfaea420a4fdf29bd7221 (diff)
2.4 hotplug compat
Diffstat (limited to 'linux-core/drm_compat.h')
-rw-r--r--linux-core/drm_compat.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h
index 3bb0b709..5b1b2312 100644
--- a/linux-core/drm_compat.h
+++ b/linux-core/drm_compat.h
@@ -120,12 +120,16 @@ struct device;
#define class_simple_device_add(...) do {} while (0)
-static inline void class_simple_device_remove(dev_t dev){};
+static inline void class_simple_device_remove(dev_t dev){}
-static inline void class_simple_destroy(struct class_simple *cs){};
+static inline void class_simple_destroy(struct class_simple *cs){}
static inline struct class_simple *class_simple_create(struct module *owner, char *name) { return (struct class_simple *)owner; }
+static inline void drm_hotplug(void) {}
+
+static inline void class_simple_set_hotplug(struct class_simple *cs, void (*fn)(void));
+
#ifndef pci_pretty_name
#define pci_pretty_name(x) x->name
#endif