lkml.org 
[lkml]   [2022]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 2/3] usb: xhci: Remove unwanted header inclusion
Date
Remove the header file and forward declare struct usb_hcd.

Signed-off-by: Sandeep Maheswaram <quic_c_sanm@quicinc.com>
---
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 <linux/types.h>
-#include <linux/usb/hcd.h>
+
+struct usb_hcd;

struct xhci_plat_priv {
const char *firmware_name;
--
2.7.4
\
 
 \ /
  Last update: 2022-03-01 11:29    [W:0.154 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site