Arnd Bergmann
d852ed98f6
usb: host: xhci: remove #ifdef around PM functions
...
The #ifdef is slightly wrong as it doesn't cover the xhci_priv_resume_quirk()
function, causing a harmless warning:
drivers/usb/host/xhci-plat.c:58:12: error: 'xhci_priv_resume_quirk' defined but not used [-Werror=unused-function]
static int xhci_priv_resume_quirk(struct usb_hcd *hcd)
A simpler way to do this correctly is to use __maybe_unused annotations
that let the compiler silently drop the functions when there is no
reference.
Fixes: b0c69b4bac
("usb: host: plat: Enable xHCI plat runtime PM")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-26 22:55:19 +02:00
..
2016-08-15 16:25:58 +02:00
2016-09-27 12:20:17 +02:00
2016-03-03 20:37:41 -08:00
2017-03-17 13:16:56 +09:00
2017-01-10 17:00:42 +01:00
2017-03-23 08:20:21 +01:00
2015-07-22 16:44:35 -07:00
2015-01-09 12:31:53 -08:00
2017-03-16 18:03:31 +09:00
2016-12-05 15:13:58 +01:00
2017-03-23 08:20:21 +01:00
2016-06-07 22:15:25 -07:00
2016-04-28 12:35:36 -07:00
2017-03-17 13:32:59 +09:00
2016-10-24 14:36:25 +02:00
2017-03-17 13:35:25 +09:00
2015-01-09 12:31:53 -08:00
2015-01-09 12:31:53 -08:00
2016-11-03 10:38:24 +02:00
2016-11-03 10:38:24 +02:00
2015-01-09 12:31:53 -08:00
2016-04-28 12:35:36 -07:00
2016-06-30 07:44:21 +01:00
2015-08-18 10:05:23 -07:00
2016-06-07 22:15:25 -07:00
2015-01-09 12:31:53 -08:00
2016-12-25 17:21:22 +01:00
2016-11-29 17:36:43 +01:00
2015-01-09 12:31:53 -08:00
2016-12-05 15:13:58 +01:00
2016-08-30 19:17:37 +02:00
2015-12-22 17:12:56 -06:00
2016-05-09 13:08:46 +02:00
2015-12-04 08:25:58 -08:00
2015-12-22 17:12:56 -06:00
2017-03-16 18:03:31 +09:00
2015-10-16 23:46:22 -07:00
2016-12-05 15:13:58 +01:00
2015-04-03 19:03:18 +02:00
2015-05-10 16:01:11 +02:00
2016-11-03 10:38:36 +02:00
2017-03-17 13:32:59 +09:00
2017-03-17 13:16:56 +09:00
2016-08-30 19:17:37 +02:00
2017-03-09 10:22:08 +01:00
2016-11-29 17:31:36 +01:00
2015-05-10 16:01:11 +02:00
2017-01-10 17:00:42 +01:00
2017-03-23 08:13:21 +01:00
2017-02-10 12:20:57 +01:00
2016-11-21 17:33:40 +01:00
2016-12-08 17:50:09 +01:00
2017-01-10 17:00:41 +01:00
2017-03-23 08:13:21 +01:00
2017-03-17 13:35:25 +09:00
2015-01-09 12:31:53 -08:00
2016-12-05 16:32:51 +01:00
2016-06-07 22:15:25 -07:00
2016-12-05 16:32:51 +01:00
2016-08-30 19:24:59 +02:00
2015-01-09 12:31:53 -08:00
2015-10-04 10:51:58 +01:00
2016-06-30 07:44:20 +01:00
2015-01-09 12:31:53 -08:00
2015-07-22 14:49:42 -07:00
2017-03-23 08:13:21 +01:00
2017-03-16 18:03:31 +09:00
2016-11-07 10:12:22 +01:00
2017-03-17 13:16:56 +09:00
2016-02-06 21:55:57 -08:00
2015-04-10 13:45:27 +02:00
2015-06-08 14:26:22 -07:00
2016-01-24 20:55:33 -08:00
2015-12-23 10:41:31 -05:00
2015-01-09 12:31:53 -08:00
2017-03-17 13:16:56 +09:00
2017-03-17 13:16:56 +09:00
2015-04-10 13:45:27 +02:00
2016-11-11 16:32:35 -06:00
2015-10-04 10:51:58 +01:00
2015-12-01 14:26:33 -08:00
2017-04-08 12:17:42 +02:00
2017-01-25 10:59:06 +01:00
2017-04-18 16:48:26 +02:00
2017-04-19 19:59:19 +02:00
2016-11-03 10:38:22 +02:00
2017-03-09 18:00:39 +01:00
2017-01-19 10:37:16 +01:00
2016-04-26 16:08:02 -07:00
2016-04-26 16:08:02 -07:00
2017-04-08 12:17:42 +02:00
2017-04-26 22:55:19 +02:00
2017-04-19 19:59:17 +02:00
2017-04-19 19:59:17 +02:00
2017-04-19 19:59:17 +02:00
2017-04-08 12:17:42 +02:00
2017-03-09 18:00:39 +01:00
2017-04-08 12:17:41 +02:00
2017-04-19 19:59:17 +02:00
2017-04-26 22:55:19 +02:00