diff options
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drmP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 8d3f0325..962b4598 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -255,7 +255,7 @@ 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; } +static inline struct class_simple *class_simple_create(struct module *owner, char *name) { return (struct class_simple *)owner; } #ifndef pci_pretty_name #define pci_pretty_name(x) x->name |