All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/24] hwmon: (pmbus/tps53679) Fix build warning
@ 2019-04-04 15:58 Guenter Roeck
  2019-04-04 15:58 ` [PATCH 02/24] hwmon: (pmbus/ucd900) " Guenter Roeck
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: Guenter Roeck @ 2019-04-04 15:58 UTC (permalink / raw)
  To: Hardware Monitoring; +Cc: Jean Delvare, Guenter Roeck

If CONFIG_OF is not enabled, the following build warning is observed.

drivers/hwmon/pmbus/tps53679.c:100:34: warning:
	‘tps53679_of_match’ defined but not used

Marking tps53679_of_match as __maybe_unused fixes the problem.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/hwmon/pmbus/tps53679.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/pmbus/tps53679.c b/drivers/hwmon/pmbus/tps53679.c
index 2bc352c5357f..3fd5105ee9ae 100644
--- a/drivers/hwmon/pmbus/tps53679.c
+++ b/drivers/hwmon/pmbus/tps53679.c
@@ -97,7 +97,7 @@ static const struct i2c_device_id tps53679_id[] = {
 
 MODULE_DEVICE_TABLE(i2c, tps53679_id);
 
-static const struct of_device_id tps53679_of_match[] = {
+static const struct of_device_id __maybe_unused tps53679_of_match[] = {
 	{.compatible = "ti,tps53679"},
 	{}
 };
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2019-04-04 15:59 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-04 15:58 [PATCH 01/24] hwmon: (pmbus/tps53679) Fix build warning Guenter Roeck
2019-04-04 15:58 ` [PATCH 02/24] hwmon: (pmbus/ucd900) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 03/24] hwmon: (ltc4151) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 04/24] hwmon: (lm90) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 05/24] hwmon: (adc128d818) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 06/24] hwmon: (ad7414) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 07/24] hwmon: (tmp102) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 08/24] hwmon: (tmp103) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 09/24] hwmon: (ads1015) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 10/24] hwmon: (adt7475) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 11/24] hwmon: (hih6130) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 12/24] hwmon: (ads7828) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 13/24] hwmon: (w83773g) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 14/24] hwmon: (lm75) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 15/24] hwmon: (ina209) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 16/24] hwmon: (max6697) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 17/24] hwmon: (max6650) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 18/24] hwmon: (lm85) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 19/24] hwmon: (max6621) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 20/24] hwmon: (stts751) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 21/24] hwmon: (tmp421) " Guenter Roeck
2019-04-04 15:58 ` [PATCH 22/24] hwmon: lm95245: Fix build warnings Guenter Roeck
2019-04-04 15:58 ` [PATCH 23/24] hwmon: (lm63) Fix build warning Guenter Roeck
2019-04-04 15:58 ` [PATCH 24/24] hwmon: (ina2xx) " Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.