]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
hwmon: (ltc4151) Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Thu, 4 Apr 2019 13:19:50 +0000 (06:19 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commita90cdd134546ddc545ba1bcba8bdf1489bf6bee6
tree0c490894e56910196eb2cdc5ca9c9cf65636246b
parent64e5116279581c4014476c4e2afabfc5227f2053
hwmon: (ltc4151) Fix build warning

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

drivers/hwmon/ltc4151.c:211:34: warning:
‘ltc4151_match’ defined but not used

Mark ltc4151_match as __maybe_unused to fix the problem.

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