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

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

drivers/hwmon/w83773g.c:47:34: warning:
‘w83773_of_match’ defined but not used

Mark w83773_of_match as __maybe_unused to fix the problem.

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