Re: [PATCH] xhci: only define xhci_msix_sync_irqs() when CONFIG_PM is set

From: Mathias Nyman
Date: Mon Mar 27 2023 - 09:38:27 EST


On 27.3.2023 15.02, Greg KH wrote:
On Mon, Mar 27, 2023 at 01:31:03PM +0300, Mathias Nyman wrote:
xhci_msic_sync_irqs() function is only called during suspend, when
CONFIG_PM is set, so don't define it unconditionally.

Fixes: 9abe15d55dcc ("xhci: Move xhci MSI sync function to to xhci-pci")
Signed-off-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
---
drivers/usb/host/xhci-pci.c | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)

No linux-usb?


Oh, right, linux-usb was missing.
Now sent there separately as well

Thanks
Mathias