USB: Mark ehci_adjust_port_wakeup_flags as __maybe_unused
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / usb / host / ehci-hub.c
index d05ea03..1a21799 100644 (file)
@@ -127,7 +127,7 @@ static int ehci_port_change(struct ehci_hcd *ehci)
        return 0;
 }
 
-static void ehci_adjust_port_wakeup_flags(struct ehci_hcd *ehci,
+static __maybe_unused void ehci_adjust_port_wakeup_flags(struct ehci_hcd *ehci,
                bool suspending, bool do_wakeup)
 {
        int             port;