tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: bc8d51ea7e8ae0abb90fa89407b55a7e0bcb0a2a commit: 09f6ffde2ecef4cc4e2a5edaa303210cabd96f57 [92/93] USB: EHCI: fix build error by making ChipIdea host a normal EHCI driver config: make ARCH=arm imx_v6_v7_defconfig All error/warnings: In file included from drivers/usb/chipidea/host.c:28:0: drivers/usb/chipidea/../host/ehci.h: In function 'ehci_readl': drivers/usb/chipidea/../host/ehci.h:665:2: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration] drivers/usb/chipidea/../host/ehci.h: In function 'ehci_writel': drivers/usb/chipidea/../host/ehci.h:677:2: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors vim +665 +/readl drivers/usb/chipidea/../host/ehci.h 083522d7 Benjamin Herrenschmidt 2006-12-15 659 { d728e327 Benjamin Herrenschmidt 2006-12-28 660 #ifdef CONFIG_USB_EHCI_BIG_ENDIAN_MMIO 083522d7 Benjamin Herrenschmidt 2006-12-15 661 return ehci_big_endian_mmio(ehci) ? 68f50e52 Al Viro 2007-02-09 662 readl_be(regs) : 68f50e52 Al Viro 2007-02-09 663 readl(regs); d728e327 Benjamin Herrenschmidt 2006-12-28 664 #else 68f50e52 Al Viro 2007-02-09 @665 return readl(regs); d728e327 Benjamin Herrenschmidt 2006-12-28 666 #endif 083522d7 Benjamin Herrenschmidt 2006-12-15 667 } 083522d7 Benjamin Herrenschmidt 2006-12-15 668 6dbd682b Stefan Roese 2007-05-01 669 static inline void ehci_writel(const struct ehci_hcd *ehci, 6dbd682b Stefan Roese 2007-05-01 670 const unsigned int val, __u32 __iomem *regs) 083522d7 Benjamin Herrenschmidt 2006-12-15 671 { d728e327 Benjamin Herrenschmidt 2006-12-28 672 #ifdef CONFIG_USB_EHCI_BIG_ENDIAN_MMIO 083522d7 Benjamin Herrenschmidt 2006-12-15 673 ehci_big_endian_mmio(ehci) ? 68f50e52 Al Viro 2007-02-09 674 writel_be(val, regs) : 68f50e52 Al Viro 2007-02-09 675 writel(val, regs); d728e327 Benjamin Herrenschmidt 2006-12-28 676 #else 68f50e52 Al Viro 2007-02-09 @677 writel(val, regs); d728e327 Benjamin Herrenschmidt 2006-12-28 678 #endif 083522d7 Benjamin Herrenschmidt 2006-12-15 679 } 8cd42e97 Kumar Gala 2006-01-20 680 --- 0-DAY kernel build testing backend Open Source Technology Center Fengguang Wu, Yuanhan Liu Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html