linux/drivers/usb/renesas_usbhs
Arnd Bergmann eaf3074e0a usb: renesas_usbhs: mark PM functions as __maybe_unused
Without CONFIG_PM, we get a new build warning here:

drivers/usb/renesas_usbhs/common.c:860:12: error: 'usbhsc_resume' defined but not used [-Werror=unused-function]
 static int usbhsc_resume(struct device *dev)
            ^~~~~~~~~~~~~
drivers/usb/renesas_usbhs/common.c:844:12: error: 'usbhsc_suspend' defined but not used [-Werror=unused-function]
 static int usbhsc_suspend(struct device *dev)
            ^~~~~~~~~~~~~~

Fixes: d54d334e75 ("usb: renesas_usbhs: Use SIMPLE_DEV_PM_OPS macro")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-12 12:38:41 +01:00
..
common.c usb: renesas_usbhs: mark PM functions as __maybe_unused 2018-12-12 12:38:41 +01:00
common.h Revert "usb: renesas_usbhs: add extcon notifier to set mode for non-otg channel" 2018-09-28 15:11:08 +02:00
fifo.c usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path 2018-02-15 18:43:57 +01:00
fifo.h USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
Kconfig usb: renesas_usbhs: Kconfig: convert to SPDX identifiers 2018-07-30 15:27:14 +02:00
Makefile usb: renesas_usbhs: Add support for RZ/A1 2018-01-09 16:18:50 +01:00
mod_gadget.c USB: mark expected switch fall-throughs 2018-07-02 18:08:19 +02:00
mod_host.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
mod.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
mod.h USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
pipe.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
pipe.h usb: renesas_usbhs: add usbhs_pipe_clear_without_sequence() function 2017-12-12 13:04:09 +02:00
rcar2.c USB: renesas_usbhs: drop unused legacy-phy support 2018-04-22 15:58:24 +02:00
rcar2.h USB: renesas_usbhs: rcar?.h: add SPDX tags 2017-11-07 15:53:48 +01:00
rcar3.c usb: renesas_usbhs: rcar3: Use OTG mode for R-Car D3 2018-09-28 15:11:08 +02:00
rcar3.h USB: renesas_usbhs: rcar?.h: add SPDX tags 2017-11-07 15:53:48 +01:00
rza.c usb: renesas_usbhs: Add support for RZ/A1 2018-01-09 16:18:50 +01:00
rza.h usb: renesas_usbhs: Add support for RZ/A1 2018-01-09 16:18:50 +01:00