]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (hih6130) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 13:35:28 +0000 (06:35 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commitf8a3189d2d3806d66a5afd5650fc2f4e03836ddd
tree8a9cae3b8efcccd81ec508b8844ce866758d2f45
parent5c66d9dd953617afd357a78d03297740822e962b
hwmon: (hih6130) Fix build warning

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

drivers/hwmon/hih6130.c:255:34: warning:
‘hih6130_of_match’ defined but not used

Mark hih6130_of_match as __maybe_unused to fix the problem.

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