summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-09-17 04:16:51 +0000
committerDave Airlie <airlied@linux.ie>2005-09-17 04:16:51 +0000
commitf5c81b262020200d4b7970d12b6c202ae0f8faee (patch)
tree8386e28dd4e9deb5373bba99a05c2b33998b9eb7
parentacb6abcc6d862224f3e91ede82909c099efdfb1f (diff)
compat for pci_pretty_name
-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