Skip to contentSkip to conversation

usb: pci_quirks: fix sparse 'symbol not declared' warning

PATCH New Konrad Zapalowicz 1 participant 1 message May 27, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: pci_quirks: fix sparse 'symbol not declared' warning

This commit fixes the following sparse warning:

drivers/usb/host/pci-quirks.c:
- 252: warning: symbol 'usb_hcd_amd_remote_wakeup_quirk' was not declared. Should it be static?

This function is exported so the fix was to add it's declaration to the header file.

---
 drivers/usb/host/pci-quirks.h | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/host/pci-quirks.h +1 -0
index 638e88f..c622ddf 100644
@@ -5,6 +5,7 @@
 void uhci_reset_hc(struct pci_dev *pdev, unsigned long base);
 int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base);
 int usb_amd_find_chipset_info(void);
+int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *pdev);
 bool usb_amd_hang_symptom_quirk(void);
 bool usb_amd_prefetch_quirk(void);
 void usb_amd_dev_put(void);
Signature · 1 line
1.8.1.2