summaryrefslogtreecommitdiff
path: root/linux/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drmP.h')
-rw-r--r--linux/drmP.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux/drmP.h b/linux/drmP.h
index ac54abb5..c61bac1d 100644
--- a/linux/drmP.h
+++ b/linux/drmP.h
@@ -243,6 +243,18 @@ static inline unsigned iminor(struct inode *inode)
#define old_encode_dev(x) (x)
+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;}
+
+static inline void class_simple_device_remove(dev_t dev){};
+
+static inline void class_simple_destroy(struct class_simple *cs){};
+
+static inline struct class_simple *class_simple_create(struct module *owner, char *name) { return NULL; }
+
#endif
#ifndef REMAP_PAGE_RANGE_5_ARGS