diff options
author | Guenter Roeck <linux@roeck-us.net> | 2022-03-25 15:24:34 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-04-04 06:54:30 -0700 |
commit | d6732317a5525a95a7eb2d12b46e3e42d321c6b6 (patch) | |
tree | 04a52aa39229db007ec7b82d88600994396df946 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) |
hwmon: (xdpe12284) Fix build warning seen if CONFIG_SENSORS_XDPE122_REGULATOR is disabled
0-day reports:
drivers/hwmon/pmbus/xdpe12284.c:127:36: warning:
unused variable 'xdpe122_reg_desc'
This is seen if CONFIG_SENSORS_XDPE122_REGULATOR is not enabled.
Mark xdpe122_reg_desc as __maybe_unused to fix the problem.
Fixes: f53bfe4d6984 ("hwmon: (xdpe12284) Add regulator support")
Reported-by: kernel test robot <lkp@intel.com>
Cc: Marcello Sylvester Bauer <sylv@sylv.io>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions