]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm63) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 14:59:01 +0000 (07:59 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commit079a5478a3b5941d3800ce2823ea682fb4f6b54b
tree92aee29fd9719234e5e29bc11a910867b93d7279
parent4cd9d783b2dae475cfb789c22f12a3cd637adc02
hwmon: (lm63) Fix build warning

The following build warning is seen if CONFIG_OF is disabled.

drivers/hwmon/lm63.c:1156:34: warning:
‘lm63_of_match’ defined but not used

Mark lm63_of_match as __maybe_unused to fix the problem.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm63.c