diff options
author | Konrad Zapalowicz <bergo.torino@gmail.com> | 2014-05-27 17:09:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 19:25:32 -0400 |
commit | 342a74934197386e065e8ef00014e6f0cb5effe6 (patch) | |
tree | 3c4669a38ee90f204f63d2ece524cd4d90213d54 | |
parent | d30f2065d6da377cc76771aca5a9850cfca8723b (diff) |
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.
Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/host/pci-quirks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/pci-quirks.h b/drivers/usb/host/pci-quirks.h index 638e88f7a28b..c622ddf21c94 100644 --- a/drivers/usb/host/pci-quirks.h +++ b/drivers/usb/host/pci-quirks.h | |||
@@ -5,6 +5,7 @@ | |||
5 | void uhci_reset_hc(struct pci_dev *pdev, unsigned long base); | 5 | void uhci_reset_hc(struct pci_dev *pdev, unsigned long base); |
6 | int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base); | 6 | int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base); |
7 | int usb_amd_find_chipset_info(void); | 7 | int usb_amd_find_chipset_info(void); |
8 | int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *pdev); | ||
8 | bool usb_amd_hang_symptom_quirk(void); | 9 | bool usb_amd_hang_symptom_quirk(void); |
9 | bool usb_amd_prefetch_quirk(void); | 10 | bool usb_amd_prefetch_quirk(void); |
10 | void usb_amd_dev_put(void); | 11 | void usb_amd_dev_put(void); |