aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-09-22 18:00:07 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 17:40:57 -0400
commitcede969fe21adece300300a455580635590deb47 (patch)
treea64ccf0720b7fc7be743f9b07c676b9b7fd058c2 /drivers/usb/host/ehci.h
parentbb4e3b5ac81a9601775e62649038934acafa78e2 (diff)
usb: remove code associated with !CONFIG_PPC_MERGE
Now that arch/ppc is gone we don't need CONFIG_PPC_MERGE anymore remove the dead code associated with !CONFIG_PPC_MERGE. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r--drivers/usb/host/ehci.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
index b697a13364ec..fb1770d6e200 100644
--- a/drivers/usb/host/ehci.h
+++ b/drivers/usb/host/ehci.h
@@ -604,16 +604,7 @@ ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc)
604/* 604/*
605 * Big-endian read/write functions are arch-specific. 605 * Big-endian read/write functions are arch-specific.
606 * Other arches can be added if/when they're needed. 606 * Other arches can be added if/when they're needed.
607 *
608 * REVISIT: arch/powerpc now has readl/writel_be, so the
609 * definition below can die once the 4xx support is
610 * finally ported over.
611 */ 607 */
612#if defined(CONFIG_PPC) && !defined(CONFIG_PPC_MERGE)
613#define readl_be(addr) in_be32((__force unsigned *)addr)
614#define writel_be(val, addr) out_be32((__force unsigned *)addr, val)
615#endif
616
617#if defined(CONFIG_ARM) && defined(CONFIG_ARCH_IXP4XX) 608#if defined(CONFIG_ARM) && defined(CONFIG_ARCH_IXP4XX)
618#define readl_be(addr) __raw_readl((__force unsigned *)addr) 609#define readl_be(addr) __raw_readl((__force unsigned *)addr)
619#define writel_be(val, addr) __raw_writel(val, (__force unsigned *)addr) 610#define writel_be(val, addr) __raw_writel(val, (__force unsigned *)addr)