kernel: update linux 3.7 to 3.7.2
[openwrt/staging/yousong.git] / target / linux / generic / patches-3.7 / 811-pci_disable_usb_common_quirks.patch
index 56d4743df1e3fa217273361d4ce930452562dd2c..1c90a5cfbe9117a305462d4ce096df1a5fb7dce8 100644 (file)
  /*
   * Make sure the controller is completely inactive, unable to
   * generate interrupts or do DMA.
-@@ -434,6 +440,10 @@ reset_needed:
+@@ -432,8 +438,17 @@ reset_needed:
+       uhci_reset_hc(pdev, base);
+       return 1;
  }
++#else
++int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base)
++{
++      return 0;
++}
++
++#endif
  EXPORT_SYMBOL_GPL(uhci_check_and_reset_hc);
  
-+#endif
-+
 +#ifndef CONFIG_PCI_DISABLE_COMMON_QUIRKS
 +
  static inline int io_type_enabled(struct pci_dev *pdev, unsigned int mask)
  {
        u16 cmd;
-@@ -971,3 +981,4 @@ static void __devinit quirk_usb_early_ha
+@@ -973,3 +988,4 @@ static void __devinit quirk_usb_early_ha
  }
  DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_ANY_ID, PCI_ANY_ID,
                        PCI_CLASS_SERIAL_USB, 8, quirk_usb_early_handoff);