summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/drm_compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h
index 32edecb0..a100e609 100644
--- a/linux-core/drm_compat.h
+++ b/linux-core/drm_compat.h
@@ -196,4 +196,8 @@ static inline int remap_pfn_range(struct vm_area_struct *vma, unsigned long from
#define __x86_64__
#endif
+#ifndef pci_pretty_name
+#define pci_pretty_name(dev) ""
+#endif
+
#endif