]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (max6650) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 13:44:14 +0000 (06:44 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commit6a42cdf1495c04671af19fd046fa4a55c923b533
tree09d4e3fef951c0bbf938a441b27e8adc478d7baf
parent619e5de5721e5c84a277a1ed02d51fb1edcf0aad
hwmon: (max6650) Fix build warning

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

drivers/hwmon/max6650.c:137:34: warning:
‘max6650_dt_match’ defined but not used

Mark max6650_dt_match as __maybe_unused to fix the problem.

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