From mboxrd@z Thu Jan 1 00:00:00 1970 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 667CCC433F5 for ; Thu, 24 Mar 2022 06:37:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348200AbiCXGjQ (ORCPT ); Thu, 24 Mar 2022 02:39:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242352AbiCXGjK (ORCPT ); Thu, 24 Mar 2022 02:39:10 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B3B9972DF; Wed, 23 Mar 2022 23:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1648103859; x=1679639859; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=DNjBzF1z6qkUkW7RPhySCx1eXWaWBLN7xnMrlQ0ScmQ=; b=pbl5LW0MIWU4jggZEH+A5fPnNmbkCAAt8FWGU19wYPUynZDvEjhzJxBg JduRMogD9SuG/D/a6n9+6FDoQoZkK7kbNnIq0Scp7ZXBr0aORoUKEhJp6 WGXvePQ1Y5jjHYiS5nz7EZTN0K4HkBvgzysP7AgB7Sm+2o7oWg8y140p3 E=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-02.qualcomm.com with ESMTP; 23 Mar 2022 23:37:38 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 23:37:38 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 23 Mar 2022 23:37:38 -0700 Received: from c-sanm-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 23 Mar 2022 23:37:33 -0700 From: Sandeep Maheswaram To: Greg Kroah-Hartman , Felipe Balbi , Stephen Boyd , Doug Anderson , Matthias Kaehlcke , Mathias Nyman , Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju CC: , , , , , Sandeep Maheswaram Subject: [PATCH v3 2/3] usb: xhci: Remove unwanted header inclusion Date: Thu, 24 Mar 2022 12:07:10 +0530 Message-ID: <1648103831-12347-3-git-send-email-quic_c_sanm@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1648103831-12347-1-git-send-email-quic_c_sanm@quicinc.com> References: <1648103831-12347-1-git-send-email-quic_c_sanm@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The header file linux/usb/hcd.h is already included where we are using xhci-plat.h so remove the header file and forward declare struct usb_hcd to avoid multiple inclusions. Signed-off-by: Sandeep Maheswaram --- This patch is to address below comment. https://patchwork.kernel.org/project/linux-arm-msm/patch/1644949454-814-2-git-send-email-quic_c_sanm@quicinc.com/#24739885 include/linux/usb/xhci-plat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/usb/xhci-plat.h b/include/linux/usb/xhci-plat.h index 906e907..576e400 100644 --- a/include/linux/usb/xhci-plat.h +++ b/include/linux/usb/xhci-plat.h @@ -9,7 +9,8 @@ #define _XHCI_PLAT_H #include -#include + +struct usb_hcd; struct xhci_plat_priv { const char *firmware_name; -- 2.7.4