Skip to content

Commit

Permalink
[PATCH] Remove unnecessary ifdef in include/asm-powerpc/pci.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
s.hauer@pengutronix.de authored and Paul Mackerras committed Nov 13, 2006
1 parent 2b890bc commit 67764a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/asm-powerpc/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,10 @@ extern pgprot_t pci_phys_mem_access_prot(struct file *file,
unsigned long size,
pgprot_t prot);

#if defined(CONFIG_PPC_MULTIPLATFORM) || defined(CONFIG_PPC32)
#define HAVE_ARCH_PCI_RESOURCE_TO_USER
extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
const struct resource *rsrc,
resource_size_t *start, resource_size_t *end);
#endif /* CONFIG_PPC_MULTIPLATFORM || CONFIG_PPC32 */

#endif /* __KERNEL__ */
#endif /* __ASM_POWERPC_PCI_H */

0 comments on commit 67764a0

Please sign in to comment.