From: Konrad Zapalowicz Date: Tue, 27 May 2014 21:09:14 +0000 (+0200) Subject: usb: pci_quirks: fix sparse 'symbol not declared' warning X-Git-Tag: next-20140530~20^2~34 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=342a74934197386e065e8ef00014e6f0cb5effe6;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 @@ 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);