summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/drm_compat.h2
-rw-r--r--linux/drm_compat.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h
index 5b1b2312..f6c113a9 100644
--- a/linux-core/drm_compat.h
+++ b/linux-core/drm_compat.h
@@ -128,7 +128,7 @@ static inline struct class_simple *class_simple_create(struct module *owner, cha
static inline void drm_hotplug(void) {}
-static inline void class_simple_set_hotplug(struct class_simple *cs, void (*fn)(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
diff --git a/linux/drm_compat.h b/linux/drm_compat.h
index 5b1b2312..f6c113a9 100644
--- a/linux/drm_compat.h
+++ b/linux/drm_compat.h
@@ -128,7 +128,7 @@ static inline struct class_simple *class_simple_create(struct module *owner, cha
static inline void drm_hotplug(void) {}
-static inline void class_simple_set_hotplug(struct class_simple *cs, void (*fn)(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