diff options
author | s.hauer@pengutronix.de <s.hauer@pengutronix.de> | 2006-11-02 07:56:00 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-11-12 22:44:57 -0500 |
commit | 67764a03193d0246cf9bb491b41806508d415830 (patch) | |
tree | 52a7432e26d3b68f8511c6ca95bd930c60064aab /include/asm-powerpc/pci.h | |
parent | 2b890bc2ce95e8c141b38ea86100826b46534295 (diff) |
[PATCH] Remove unnecessary ifdef in include/asm-powerpc/pci.h
Current kernels always have one of CONFIG_PPC_MULTIPLATFORM or
CONFIG_PPC32 defined, so remove bogus ifdef.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/pci.h')
-rw-r--r-- | include/asm-powerpc/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-powerpc/pci.h b/include/asm-powerpc/pci.h index 46afd29b904e..051694f14c3e 100644 --- a/include/asm-powerpc/pci.h +++ b/include/asm-powerpc/pci.h | |||
@@ -238,12 +238,10 @@ extern pgprot_t pci_phys_mem_access_prot(struct file *file, | |||
238 | unsigned long size, | 238 | unsigned long size, |
239 | pgprot_t prot); | 239 | pgprot_t prot); |
240 | 240 | ||
241 | #if defined(CONFIG_PPC_MULTIPLATFORM) || defined(CONFIG_PPC32) | ||
242 | #define HAVE_ARCH_PCI_RESOURCE_TO_USER | 241 | #define HAVE_ARCH_PCI_RESOURCE_TO_USER |
243 | extern void pci_resource_to_user(const struct pci_dev *dev, int bar, | 242 | extern void pci_resource_to_user(const struct pci_dev *dev, int bar, |
244 | const struct resource *rsrc, | 243 | const struct resource *rsrc, |
245 | resource_size_t *start, resource_size_t *end); | 244 | resource_size_t *start, resource_size_t *end); |
246 | #endif /* CONFIG_PPC_MULTIPLATFORM || CONFIG_PPC32 */ | ||
247 | 245 | ||
248 | #endif /* __KERNEL__ */ | 246 | #endif /* __KERNEL__ */ |
249 | #endif /* __ASM_POWERPC_PCI_H */ | 247 | #endif /* __ASM_POWERPC_PCI_H */ |