diff options
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ehci-q.c | 4 | ||||
-rw-r--r-- | drivers/usb/host/ehci-sched.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/pci-quirks.c | 6 | ||||
-rw-r--r-- | drivers/usb/host/sl811-hcd.c | 4 | ||||
-rw-r--r-- | drivers/usb/host/uhci-hcd.c | 6 | ||||
-rw-r--r-- | drivers/usb/host/uhci-q.c | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c index 315c7c14aaa8..5ae689139dd0 100644 --- a/drivers/usb/host/ehci-q.c +++ b/drivers/usb/host/ehci-q.c | |||
@@ -251,7 +251,7 @@ __acquires(ehci->lock) | |||
251 | #ifdef EHCI_URB_TRACE | 251 | #ifdef EHCI_URB_TRACE |
252 | ehci_dbg (ehci, | 252 | ehci_dbg (ehci, |
253 | "%s %s urb %p ep%d%s status %d len %d/%d\n", | 253 | "%s %s urb %p ep%d%s status %d len %d/%d\n", |
254 | __FUNCTION__, urb->dev->devpath, urb, | 254 | __func__, urb->dev->devpath, urb, |
255 | usb_pipeendpoint (urb->pipe), | 255 | usb_pipeendpoint (urb->pipe), |
256 | usb_pipein (urb->pipe) ? "in" : "out", | 256 | usb_pipein (urb->pipe) ? "in" : "out", |
257 | status, | 257 | status, |
@@ -974,7 +974,7 @@ submit_async ( | |||
974 | #ifdef EHCI_URB_TRACE | 974 | #ifdef EHCI_URB_TRACE |
975 | ehci_dbg (ehci, | 975 | ehci_dbg (ehci, |
976 | "%s %s urb %p ep%d%s len %d, qtd %p [qh %p]\n", | 976 | "%s %s urb %p ep%d%s len %d, qtd %p [qh %p]\n", |
977 | __FUNCTION__, urb->dev->devpath, urb, | 977 | __func__, urb->dev->devpath, urb, |
978 | epnum & 0x0f, (epnum & USB_DIR_IN) ? "in" : "out", | 978 | epnum & 0x0f, (epnum & USB_DIR_IN) ? "in" : "out", |
979 | urb->transfer_buffer_length, | 979 | urb->transfer_buffer_length, |
980 | qtd, urb->ep->hcpriv); | 980 | qtd, urb->ep->hcpriv); |
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index e3cfe0a03552..be575e46eac3 100644 --- a/drivers/usb/host/ehci-sched.c +++ b/drivers/usb/host/ehci-sched.c | |||
@@ -1677,7 +1677,7 @@ static int itd_submit (struct ehci_hcd *ehci, struct urb *urb, | |||
1677 | #ifdef EHCI_URB_TRACE | 1677 | #ifdef EHCI_URB_TRACE |
1678 | ehci_dbg (ehci, | 1678 | ehci_dbg (ehci, |
1679 | "%s %s urb %p ep%d%s len %d, %d pkts %d uframes [%p]\n", | 1679 | "%s %s urb %p ep%d%s len %d, %d pkts %d uframes [%p]\n", |
1680 | __FUNCTION__, urb->dev->devpath, urb, | 1680 | __func__, urb->dev->devpath, urb, |
1681 | usb_pipeendpoint (urb->pipe), | 1681 | usb_pipeendpoint (urb->pipe), |
1682 | usb_pipein (urb->pipe) ? "in" : "out", | 1682 | usb_pipein (urb->pipe) ? "in" : "out", |
1683 | urb->transfer_buffer_length, | 1683 | urb->transfer_buffer_length, |
diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c index 0ee694f043cc..ae6e70edd745 100644 --- a/drivers/usb/host/pci-quirks.c +++ b/drivers/usb/host/pci-quirks.c | |||
@@ -106,7 +106,7 @@ int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base) | |||
106 | pci_read_config_word(pdev, UHCI_USBLEGSUP, &legsup); | 106 | pci_read_config_word(pdev, UHCI_USBLEGSUP, &legsup); |
107 | if (legsup & ~(UHCI_USBLEGSUP_RO | UHCI_USBLEGSUP_RWC)) { | 107 | if (legsup & ~(UHCI_USBLEGSUP_RO | UHCI_USBLEGSUP_RWC)) { |
108 | dev_dbg(&pdev->dev, "%s: legsup = 0x%04x\n", | 108 | dev_dbg(&pdev->dev, "%s: legsup = 0x%04x\n", |
109 | __FUNCTION__, legsup); | 109 | __func__, legsup); |
110 | goto reset_needed; | 110 | goto reset_needed; |
111 | } | 111 | } |
112 | 112 | ||
@@ -114,14 +114,14 @@ int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base) | |||
114 | if ((cmd & UHCI_USBCMD_RUN) || !(cmd & UHCI_USBCMD_CONFIGURE) || | 114 | if ((cmd & UHCI_USBCMD_RUN) || !(cmd & UHCI_USBCMD_CONFIGURE) || |
115 | !(cmd & UHCI_USBCMD_EGSM)) { | 115 | !(cmd & UHCI_USBCMD_EGSM)) { |
116 | dev_dbg(&pdev->dev, "%s: cmd = 0x%04x\n", | 116 | dev_dbg(&pdev->dev, "%s: cmd = 0x%04x\n", |
117 | __FUNCTION__, cmd); | 117 | __func__, cmd); |
118 | goto reset_needed; | 118 | goto reset_needed; |
119 | } | 119 | } |
120 | 120 | ||
121 | intr = inw(base + UHCI_USBINTR); | 121 | intr = inw(base + UHCI_USBINTR); |
122 | if (intr & (~UHCI_USBINTR_RESUME)) { | 122 | if (intr & (~UHCI_USBINTR_RESUME)) { |
123 | dev_dbg(&pdev->dev, "%s: intr = 0x%04x\n", | 123 | dev_dbg(&pdev->dev, "%s: intr = 0x%04x\n", |
124 | __FUNCTION__, intr); | 124 | __func__, intr); |
125 | goto reset_needed; | 125 | goto reset_needed; |
126 | } | 126 | } |
127 | return 0; | 127 | return 0; |
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index df256d61e2c6..274276cf8621 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c | |||
@@ -1335,7 +1335,7 @@ static int | |||
1335 | sl811h_bus_suspend(struct usb_hcd *hcd) | 1335 | sl811h_bus_suspend(struct usb_hcd *hcd) |
1336 | { | 1336 | { |
1337 | // SOFs off | 1337 | // SOFs off |
1338 | DBG("%s\n", __FUNCTION__); | 1338 | DBG("%s\n", __func__); |
1339 | return 0; | 1339 | return 0; |
1340 | } | 1340 | } |
1341 | 1341 | ||
@@ -1343,7 +1343,7 @@ static int | |||
1343 | sl811h_bus_resume(struct usb_hcd *hcd) | 1343 | sl811h_bus_resume(struct usb_hcd *hcd) |
1344 | { | 1344 | { |
1345 | // SOFs on | 1345 | // SOFs on |
1346 | DBG("%s\n", __FUNCTION__); | 1346 | DBG("%s\n", __func__); |
1347 | return 0; | 1347 | return 0; |
1348 | } | 1348 | } |
1349 | 1349 | ||
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index f65d5a858733..d3e0d8aa3980 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c | |||
@@ -335,7 +335,7 @@ __releases(uhci->lock) | |||
335 | __acquires(uhci->lock) | 335 | __acquires(uhci->lock) |
336 | { | 336 | { |
337 | dev_dbg(&uhci_to_hcd(uhci)->self.root_hub->dev, | 337 | dev_dbg(&uhci_to_hcd(uhci)->self.root_hub->dev, |
338 | "%s%s\n", __FUNCTION__, | 338 | "%s%s\n", __func__, |
339 | uhci->rh_state == UHCI_RH_AUTO_STOPPED ? | 339 | uhci->rh_state == UHCI_RH_AUTO_STOPPED ? |
340 | " (auto-start)" : ""); | 340 | " (auto-start)" : ""); |
341 | 341 | ||
@@ -735,7 +735,7 @@ static int uhci_pci_suspend(struct usb_hcd *hcd, pm_message_t message) | |||
735 | struct uhci_hcd *uhci = hcd_to_uhci(hcd); | 735 | struct uhci_hcd *uhci = hcd_to_uhci(hcd); |
736 | int rc = 0; | 736 | int rc = 0; |
737 | 737 | ||
738 | dev_dbg(uhci_dev(uhci), "%s\n", __FUNCTION__); | 738 | dev_dbg(uhci_dev(uhci), "%s\n", __func__); |
739 | 739 | ||
740 | spin_lock_irq(&uhci->lock); | 740 | spin_lock_irq(&uhci->lock); |
741 | if (!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags) || uhci->dead) | 741 | if (!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags) || uhci->dead) |
@@ -771,7 +771,7 @@ static int uhci_pci_resume(struct usb_hcd *hcd) | |||
771 | { | 771 | { |
772 | struct uhci_hcd *uhci = hcd_to_uhci(hcd); | 772 | struct uhci_hcd *uhci = hcd_to_uhci(hcd); |
773 | 773 | ||
774 | dev_dbg(uhci_dev(uhci), "%s\n", __FUNCTION__); | 774 | dev_dbg(uhci_dev(uhci), "%s\n", __func__); |
775 | 775 | ||
776 | /* Since we aren't in D3 any more, it's safe to set this flag | 776 | /* Since we aren't in D3 any more, it's safe to set this flag |
777 | * even if the controller was dead. | 777 | * even if the controller was dead. |
diff --git a/drivers/usb/host/uhci-q.c b/drivers/usb/host/uhci-q.c index 60379b17bbc1..db645936eedd 100644 --- a/drivers/usb/host/uhci-q.c +++ b/drivers/usb/host/uhci-q.c | |||
@@ -1171,7 +1171,7 @@ static int uhci_result_common(struct uhci_hcd *uhci, struct urb *urb) | |||
1171 | /* Some debugging code */ | 1171 | /* Some debugging code */ |
1172 | dev_dbg(&urb->dev->dev, | 1172 | dev_dbg(&urb->dev->dev, |
1173 | "%s: failed with status %x\n", | 1173 | "%s: failed with status %x\n", |
1174 | __FUNCTION__, status); | 1174 | __func__, status); |
1175 | 1175 | ||
1176 | if (debug > 1 && errbuf) { | 1176 | if (debug > 1 && errbuf) { |
1177 | /* Print the chain for debugging */ | 1177 | /* Print the chain for debugging */ |