]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7475) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 13:33:42 +0000 (06:33 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commitf299c48fb318485a513b8eb613a3290bf333cfe3
tree4209cd43bfb0f7ff889d61a0a815ec48ae947a1c
parentb4a7b60eda0fe37331929fcfaf8d6d69151104c9
hwmon: (adt7475) Fix build warning

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

drivers/hwmon/adt7475.c:171:34: warning:
‘adt7475_of_match’ defined but not used

Mark adt7475_of_match as __maybe_unused to fix the problem.

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