USB: Mark ehci_adjust_port_wakeup_flags as __maybe_unused
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 12 Apr 2011 12:31:54 +0000 (09:31 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Apr 2011 23:41:01 +0000 (16:41 -0700)
commit0b0cd6c81defc4e4fccb9e9103666547fefdb9c0
treee0bfabbfcffbafee5dbf234025c8e49183022c5a
parent74d1dc8d8d13fef55c33b49f06ab84eeebf967c4
USB: Mark ehci_adjust_port_wakeup_flags as __maybe_unused

Mark ehci_adjust_port_wakeup_flags as __maybe_unused to avoid the following
warning when building the ehci-mxc driver:

  CC      drivers/usb/host/ehci-hcd.o
drivers/usb/host/ehci-hub.c:130: warning: 'ehci_adjust_port_wakeup_flags' defined but not used

Current ehci-mxc driver implementation does not support suspend/resume.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hub.c