usb: xhci-plat: Don't include xhci.h
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Wed, 17 Apr 2024 23:14:30 +0000 (23:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 09:51:03 +0000 (11:51 +0200)
commitf78ff8825eb8c07b7cec119548fd24aa5061fc5c
tree2ab65cca3be014031ebeb4d83db317958ef6bb11
parentbad094bd08270a381feb7b31a997dfb80ba933bb
usb: xhci-plat: Don't include xhci.h

commit 4a237d55446ff67655dc3eed2d4a41997536fc4c upstream.

The xhci_plat.h should not need to include the entire xhci.h header.
This can cause redefinition in dwc3 if it selectively includes some xHCI
definitions. This is a prerequisite change for a fix to disable suspend
during initialization for dwc3.

Cc: stable@vger.kernel.org
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/310acfa01c957a10d9feaca3f7206269866ba2eb.1713394973.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.h