Sfoglia il codice sorgente

Merge tag 'for-3.3-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus

Few fixes for 3.3-rc3, nothing major. Mostly build fixes
introduced recently.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Greg Kroah-Hartman 13 anni fa
parent
commit
8739348391
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 1 1
      drivers/usb/gadget/f_loopback.c
  2. 2 1
      drivers/usb/musb/musb_io.h

+ 1 - 1
drivers/usb/gadget/f_loopback.c

@@ -418,7 +418,7 @@ int __init loopback_add(struct usb_composite_dev *cdev, bool autoresume)
 
 
 	/* support autoresume for remote wakeup testing */
 	/* support autoresume for remote wakeup testing */
 	if (autoresume)
 	if (autoresume)
-		sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
+		loopback_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
 
 
 	/* support OTG systems */
 	/* support OTG systems */
 	if (gadget_is_otg(cdev->gadget)) {
 	if (gadget_is_otg(cdev->gadget)) {

+ 2 - 1
drivers/usb/musb/musb_io.h

@@ -39,7 +39,8 @@
 
 
 #if !defined(CONFIG_ARM) && !defined(CONFIG_SUPERH) \
 #if !defined(CONFIG_ARM) && !defined(CONFIG_SUPERH) \
 	&& !defined(CONFIG_AVR32) && !defined(CONFIG_PPC32) \
 	&& !defined(CONFIG_AVR32) && !defined(CONFIG_PPC32) \
-	&& !defined(CONFIG_PPC64) && !defined(CONFIG_BLACKFIN)
+	&& !defined(CONFIG_PPC64) && !defined(CONFIG_BLACKFIN) \
+	&& !defined(CONFIG_MIPS)
 static inline void readsl(const void __iomem *addr, void *buf, int len)
 static inline void readsl(const void __iomem *addr, void *buf, int len)
 	{ insl((unsigned long)addr, buf, len); }
 	{ insl((unsigned long)addr, buf, len); }
 static inline void readsw(const void __iomem *addr, void *buf, int len)
 static inline void readsw(const void __iomem *addr, void *buf, int len)