]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (pmbus/tps53679) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 13:16:46 +0000 (06:16 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commitd9f15863f5750a4675cb3651f2f8356709bcb4a9
tree51fd183f65f51ecca7e4e1e3102e12fc1e7aaa2c
parent33c387a676f6bafdb93fe4cb1b3feb9d7d1d44e5
hwmon: (pmbus/tps53679) Fix build warning

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