From patchwork Mon Jul 11 16:25:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 589746 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0F8CC43334 for ; Mon, 11 Jul 2022 16:25:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231142AbiGKQZM (ORCPT ); Mon, 11 Jul 2022 12:25:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbiGKQZK (ORCPT ); Mon, 11 Jul 2022 12:25:10 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 386012D1CB for ; Mon, 11 Jul 2022 09:25:10 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id l12so4836737plk.13 for ; Mon, 11 Jul 2022 09:25:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ukc3FdWjfLcH/LmKOFw9wVHJnBYxyOJ3TZo5iySD7CM=; b=mos/Mg0hb/2sKrl+1pyR3cc5pWrcxHNMusFW9vCuu+2DGtN5aBipvTN30Jc6drre+T /RFl5RGuERg3AZGdQXD0762fpVS5LkIrZ+Dmfr0iPstEiYmS197oZdnqO/gsd0V2LLrA dMbFtl9QauwEhNzOkDMmTLhCVI/jC7ytB3nJg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ukc3FdWjfLcH/LmKOFw9wVHJnBYxyOJ3TZo5iySD7CM=; b=mPlCoy1dJiqBi0hq7w25GecH5wis87WnTcbjpD+/e/a9L7m3gt5VAB9L9Ic/+gqO1f I2L3QP17VKCZrX2L73O/aQuu0YW5wetk7KTue8zP+BdznLLO8yWB74gPK9dQ///vp7tO 1jjHqV8N8o0f8d6WlIQoPYrvp9NuykbCj72aD32bBmtqiLclPRtsNGL1gYcl6sk6Z/ee /esI+jA4WYeR+0KRI/hkLQeWweAVN2Bl+GR690twZzsZSPwaPBVBIKOPQtcDynNOZGtI lsxN1Zwa+HwTmyLVX+qe6AJa3XH0S8d/931oWRv3QRs9NUMEBsGcsOYrLRyqT2R0i6+f LLdQ== X-Gm-Message-State: AJIora9W9Xx2FF6jOVH6hh/XdIjwwkzRjL5YuNwqA/sV3gFHa1Rt//ai d4UYKKDUS9g+yujuFZ8h99piFcVo+2COmA== X-Google-Smtp-Source: AGRyM1sqfkSPHvkTxOaPtZOcTNkMYSm2yWVjkihbwLCJH3gYz50+9KRFnfZffXUT+5VHv4SdyYdA7g== X-Received: by 2002:a17:902:f64f:b0:16c:23c2:e2dd with SMTP id m15-20020a170902f64f00b0016c23c2e2ddmr19017073plg.3.1657556709786; Mon, 11 Jul 2022 09:25:09 -0700 (PDT) Received: from localhost ([2620:15c:11a:202:7b75:79f4:3be2:2c65]) by smtp.gmail.com with UTF8SMTPSA id e7-20020aa79807000000b0052a8128699fsm4967587pfl.207.2022.07.11.09.25.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Jul 2022 09:25:09 -0700 (PDT) From: Matthias Kaehlcke To: Greg Kroah-Hartman , Matthias Kaehlcke Cc: linux-kernel@vger.kernel.org, Douglas Anderson , linux-usb@vger.kernel.org, kernel test robot , Ravi Chandra Sadineni Subject: [PATCH] usb: misc: onboard_hub: Fix 'missing prototype' warning Date: Mon, 11 Jul 2022 09:25:05 -0700 Message-Id: <20220711092431.1.I4016c759fd7fe2b32dd482994a20661f36e2cae3@changeid> X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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 Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- drivers/usb/misc/onboard_usb_hub_pdevs.c | 1 + 1 file changed, 1 insertion(+) 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"