summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/hcd.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2017-01-25 23:13:37 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-26 10:52:01 +0200
commit4fe160d51e4226a80f81b3d9b5193e0b8d2ebcbd (patch)
tree1ab6ea1703bdcfbe5b9fabdb5f83c36f1745a8f1 /drivers/usb/dwc2/hcd.h
parent348becdcc3196addbe882e8a10451744e489e389 (diff)
downloadlinux-stable-4fe160d51e4226a80f81b3d9b5193e0b8d2ebcbd.tar.gz
linux-stable-4fe160d51e4226a80f81b3d9b5193e0b8d2ebcbd.tar.bz2
linux-stable-4fe160d51e4226a80f81b3d9b5193e0b8d2ebcbd.zip
usb: dwc2: eliminate irq parameter from dwc2_hcd_init
The irq is available in hsotg already, so there's no need to pass it as separate function parameter. Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2/hcd.h')
-rw-r--r--drivers/usb/dwc2/hcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/hcd.h b/drivers/usb/dwc2/hcd.h
index 58bfe9f531e7..11c3c145b793 100644
--- a/drivers/usb/dwc2/hcd.h
+++ b/drivers/usb/dwc2/hcd.h
@@ -521,7 +521,7 @@ static inline u8 dwc2_hcd_is_pipe_out(struct dwc2_hcd_pipe_info *pipe)
return !dwc2_hcd_is_pipe_in(pipe);
}
-int dwc2_hcd_init(struct dwc2_hsotg *hsotg, int irq);
+int dwc2_hcd_init(struct dwc2_hsotg *hsotg);
void dwc2_hcd_remove(struct dwc2_hsotg *hsotg);
/* Transaction Execution Functions */