From: Matthias Kaehlcke Date: Mon, 11 Jul 2022 16:25:05 +0000 (-0700) Subject: usb: misc: onboard_hub: Fix 'missing prototype' warning X-Git-Tag: block-6.0-2022-08-12~24^2~73 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2d937c64e8bf3d9b11b1d62d37fbe97b3cd5dc8d;p=linux-block.git usb: misc: onboard_hub: Fix 'missing prototype' warning When building with 'W=1' the compiler complains about missing prototypes for onboard_hub_create/destroy_pdevs(). Include the header with the prototypes to fix this. Reported-by: kernel test robot Reviewed-by: Douglas Anderson Signed-off-by: Matthias Kaehlcke Link: https://lore.kernel.org/r/20220711092431.1.I4016c759fd7fe2b32dd482994a20661f36e2cae3@changeid Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/misc/onboard_usb_hub_pdevs.c b/drivers/usb/misc/onboard_usb_hub_pdevs.c index a0a5f719129f..ed22a18f4ab7 100644 --- a/drivers/usb/misc/onboard_usb_hub_pdevs.c +++ b/drivers/usb/misc/onboard_usb_hub_pdevs.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "onboard_usb_hub.h"