]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
hwmon: (adc128d818) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 13:23:59 +0000 (06:23 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commit462d7e7ec9e855895a000c17dba0192bf6489718
tree946036d5ffac28e4925c6b81bdfcfa69aa934b65
parent787afaa30fa51bf9e85b56b237a6ad4a0249b3e8
hwmon: (adc128d818) Fix build warning

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

drivers/hwmon/adc128d818.c:524:34: warning:
‘adc128_of_match’ defined but not used

Mark adc128_of_match as __maybe_unused to fix the problem.

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