Hi, On Sat, Feb 26, 2011 at 04:36:37AM +0530, Keshava Munegowda wrote: > @@ -148,137 +52,24 @@ > #define EHCI_INSNREG05_ULPI_EXTREGADD_SHIFT 8 > #define EHCI_INSNREG05_ULPI_WRDATA_SHIFT 0 > > -/* Values of UHH_REVISION - Note: these are not given in the TRM */ > -#define OMAP_EHCI_REV1 0x00000010 /* OMAP3 */ > -#define OMAP_EHCI_REV2 0x50700100 /* OMAP4 */ > +/*-------------------------------------------------------------------------*/ > > -#define is_omap_ehci_rev1(x) (x->omap_ehci_rev == OMAP_EHCI_REV1) > -#define is_omap_ehci_rev2(x) (x->omap_ehci_rev == OMAP_EHCI_REV2) > +static const struct hc_driver ehci_omap_hc_driver; > > -#define is_ehci_phy_mode(x) (x == OMAP_EHCI_PORT_MODE_PHY) > -#define is_ehci_tll_mode(x) (x == OMAP_EHCI_PORT_MODE_TLL) > -#define is_ehci_hsic_mode(x) (x == OMAP_EHCI_PORT_MODE_HSIC) > > -/*-------------------------------------------------------------------------*/ > - > -static inline void ehci_omap_writel(void __iomem *base, u32 reg, u32 val) > +static inline void ehci_write(void __iomem *base, u32 reg, u32 val) > { > __raw_writel(val, base + reg); > } > > -static inline u32 ehci_omap_readl(void __iomem *base, u32 reg) > +static inline u32 ehci_read(void __iomem *base, u32 reg) renaming these functions is not part of this patch. -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html