Andy Shevchenko
785cb2b02f
gpiolib: Mark gpio_suffixes array with __maybe_unused
...
[ Upstream commit b23ec59926 ]
Since we put static variable to a header file it's copied to each module
that includes the header. But not all of them are actually used it.
Mark gpio_suffixes array with __maybe_unused to hide a compiler warning:
In file included from
drivers/gpio/gpiolib-legacy.c:6:0:
drivers/gpio/gpiolib.h:95:27: warning: ‘gpio_suffixes’ defined but not used [-Wunused-const-variable=]
static const char * const gpio_suffixes[] = { "gpios", "gpio" };
^~~~~~~~~~~~~
In file included from drivers/gpio/gpiolib-devprop.c:17:0:
drivers/gpio/gpiolib.h:95:27: warning: ‘gpio_suffixes’ defined but not used [-Wunused-const-variable=]
static const char * const gpio_suffixes[] = { "gpios", "gpio" };
^~~~~~~~~~~~~
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-09-26 08:35:09 +02:00
..
2018-08-22 07:48:37 +02:00
2018-05-02 07:53:42 -07:00
2018-02-28 10:17:23 +01:00
2018-09-19 22:48:58 +02:00
2018-07-22 14:25:52 +02:00
2018-08-15 17:42:09 +02:00
2017-03-12 06:37:30 +01:00
2018-07-17 11:31:46 +02:00
2018-09-19 22:48:56 +02:00
2018-04-13 19:50:05 +02:00
2018-09-05 09:18:41 +02:00
2018-08-15 17:42:04 +02:00
2018-09-26 08:35:05 +02:00
2018-05-30 07:49:01 +02:00
2016-01-04 21:46:45 -05:00
2018-07-03 11:21:26 +02:00
2018-07-03 11:21:29 +02:00
2018-09-26 08:35:06 +02:00
2018-02-22 15:44:58 +01:00
2018-09-26 08:35:05 +02:00
2015-10-30 01:16:16 -04:00
2018-04-13 19:50:23 +02:00
2017-11-21 09:21:18 +01:00
2018-05-30 07:48:52 +02:00
2018-05-30 07:48:56 +02:00
2015-11-24 15:25:46 -08:00
2018-09-26 08:35:09 +02:00
2018-09-26 08:35:09 +02:00
2018-08-24 13:26:57 +02:00
2018-03-24 10:58:42 +01:00
2018-02-25 11:03:46 +01:00
2018-05-30 07:49:13 +02:00
2016-02-25 12:01:23 -08:00
2018-09-26 08:35:09 +02:00
2018-09-19 22:48:55 +02:00
2018-05-30 07:49:13 +02:00
2018-02-25 11:03:51 +01:00
2018-09-09 20:04:33 +02:00
2018-09-26 08:35:07 +02:00
2018-09-19 22:48:58 +02:00
2018-09-26 08:35:04 +02:00
2018-09-15 09:40:41 +02:00
2018-08-22 07:48:38 +02:00
2018-04-13 19:50:09 +02:00
2016-09-24 10:07:35 +02:00
2018-09-19 22:48:57 +02:00
2017-08-06 19:19:41 -07:00
2016-06-01 12:15:53 -07:00
2018-09-19 22:48:57 +02:00
2018-09-26 08:35:05 +02:00
2018-08-06 16:24:38 +02:00
2016-10-28 03:01:35 -04:00
2018-05-30 07:48:58 +02:00
2018-09-19 22:48:59 +02:00
2018-09-26 08:35:07 +02:00
2018-05-30 07:48:51 +02:00
2018-09-26 08:35:08 +02:00
2018-09-26 08:35:07 +02:00
2018-03-22 09:23:23 +01:00
2018-05-30 07:48:55 +02:00
2018-07-03 11:21:31 +02:00
2018-07-11 16:03:47 +02:00
2017-08-06 19:19:46 -07:00
2018-07-03 11:21:29 +02:00
2018-05-30 07:49:10 +02:00
2018-09-26 08:35:09 +02:00
2018-09-15 09:40:39 +02:00
2016-04-20 15:42:09 +09:00
2018-03-22 09:23:26 +01:00
2018-01-23 19:50:16 +01:00
2018-09-05 09:18:39 +02:00
2018-09-26 08:35:06 +02:00
2016-08-16 09:30:48 +02:00
2018-03-24 10:58:45 +01:00
2018-04-13 19:50:05 +02:00
2016-08-10 11:49:25 +02:00
2018-07-25 10:18:17 +02:00
2018-09-09 20:04:35 +02:00
2018-08-06 16:24:35 +02:00
2016-08-20 18:09:20 +02:00
2018-08-06 16:24:30 +02:00
2018-09-26 08:35:06 +02:00
2018-09-19 22:48:58 +02:00
2016-03-09 15:34:49 -08:00
2016-09-24 10:07:42 +02:00
2018-09-09 20:04:32 +02:00
2017-07-27 15:06:10 -07:00
2018-02-25 11:03:44 +01:00
2018-09-19 22:48:56 +02:00
2018-09-19 22:48:56 +02:00
2018-08-06 16:24:37 +02:00
2018-04-24 09:32:07 +02:00
2018-09-19 22:48:57 +02:00
2018-09-19 22:48:57 +02:00
2018-09-26 08:35:08 +02:00
2017-10-12 11:27:35 +02:00
2018-04-24 09:32:09 +02:00
2018-07-22 14:25:53 +02:00
2018-09-26 08:35:06 +02:00
2018-08-06 16:24:42 +02:00
2017-01-19 20:17:21 +01:00
2018-07-03 11:21:27 +02:00
2018-05-30 07:49:03 +02:00
2018-07-03 11:21:34 +02:00
2018-05-30 07:49:11 +02:00
2015-11-04 22:15:15 -08:00
2018-02-25 11:03:38 +01:00