Messages in this thread Patch in this message | | | Date | Thu, 19 Dec 2013 15:40:40 +0530 | From | Rashika Kheria <> | Subject | [PATCH 4/7] drivers: usb: Include appropriate header file in pci-quirks.c |
| |
Include header file include/linux/usb/hcd.h in host/pci-quirks.c because function usb_hcd_amd_remote_wakeup_quirk() has its prototype declaration in include/linux/usb/hcd.h.
This eliminates the following warning in host/pci-quirks.c: drivers/usb/host/pci-quirks.c:253:5: warning: no previous prototype for ‘usb_hcd_amd_remote_wakeup_quirk’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> --- drivers/usb/host/pci-quirks.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c index dfbdd3a..4574953 100644 --- a/drivers/usb/host/pci-quirks.c +++ b/drivers/usb/host/pci-quirks.c @@ -17,6 +17,7 @@ #include <linux/export.h> #include <linux/acpi.h> #include <linux/dmi.h> +#include <linux/usb/hcd.h> #include "pci-quirks.h" #include "xhci-ext-caps.h" -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |