compat for pci_pretty_name
authorDave Airlie <airlied@linux.ie>
Sat, 17 Sep 2005 04:16:51 +0000 (04:16 +0000)
committerDave Airlie <airlied@linux.ie>
Sat, 17 Sep 2005 04:16:51 +0000 (04:16 +0000)
linux-core/drm_compat.h

index 32edecb..a100e60 100644 (file)
@@ -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