From f5c81b262020200d4b7970d12b6c202ae0f8faee Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 17 Sep 2005 04:16:51 +0000 Subject: compat for pci_pretty_name --- linux-core/drm_compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux-core/drm_compat.h') 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 -- cgit v1.2.3