Skip to content

Commit

Permalink
Merge tag 'usb-3.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/gregkh/usb

Pull USB fixes from Greg KH:
 "Here are two USB fixes for 3.11-rc7

  One fixes a reported regression in the OHCI driver, and the other
  fixes a reported build breakage in the USB phy drivers"

* tag 'usb-3.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
  usb: phy: fix build breakage
  USB: OHCI: add missing PCI PM callbacks to ohci-pci.c
  • Loading branch information
Linus Torvalds committed Aug 25, 2013
2 parents 1b4757e + 52d5b9a commit 5e25e4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions drivers/usb/host/ohci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,11 @@ static int __init ohci_pci_init(void)
pr_info("%s: " DRIVER_DESC "\n", hcd_name);

ohci_init_driver(&ohci_pci_hc_driver, &pci_overrides);

/* Entries for the PCI suspend/resume callbacks are special */
ohci_pci_hc_driver.pci_suspend = ohci_suspend;
ohci_pci_hc_driver.pci_resume = ohci_resume;

return pci_register_driver(&ohci_pci_driver);
}
module_init(ohci_pci_init);
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/phy/phy-fsl-usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "otg_fsm.h"
#include "phy-fsm-usb.h"
#include <linux/usb/otg.h>
#include <linux/ioctl.h>

Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/phy/phy-fsm-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <linux/usb/gadget.h>
#include <linux/usb/otg.h>

#include "phy-otg-fsm.h"
#include "phy-fsm-usb.h"

/* Change USB protocol when there is a protocol change */
static int otg_set_protocol(struct otg_fsm *fsm, int protocol)
Expand Down

0 comments on commit 5e25e4f

Please sign in to comment.