]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm90) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 13:21:17 +0000 (06:21 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commiteb5c519246cd1e6c3ab69ad4854a6ca2f83b9425
treeeae92afd078e53c71870ae8518484324c04d7328
parent2308bb441b346f4df27aa58c1571d4e05387f869
hwmon: (lm90) Fix build warning

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

drivers/hwmon/lm90.c:239:34: warning:
‘lm90_of_match’ defined but not used

Mark lm90_of_match as __maybe_unused to fix the problem.

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