mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-20 13:08:08 +07:00
![]() This is the same as abx500_adc_therm, but when the former is used, the following warning flood pops up: drivers/power/ab8500_btemp.c: In function 'ab8500_btemp_batctrl_volt_to_res': ab8500_btemp.c:150:25: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare] ab8500_btemp.c: In function 'ab8500_btemp_curr_source_enable': ab8500_btemp.c:212:25: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare] ab8500_btemp.c:244:32: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare] ab8500_btemp.c: In function 'ab8500_btemp_measure_temp': ab8500_btemp.c:462:25: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare] ab8500_btemp.c: In function 'ab8500_btemp_id': ab8500_btemp.c:528:121: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare] ab8500_btemp.c:551:25: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare] This patch fixes the issue by switching the driver to use more namespace-friendly enum. Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org> |
||
---|---|---|
.. | ||
abx500 | ||
da9052 | ||
pcf50633 | ||
pm8xxx | ||
s5m87xx | ||
wm831x | ||
wm8350 | ||
wm8994 | ||
88pm860x.h | ||
aat2870.h | ||
abx500.h | ||
adp5520.h | ||
asic3.h | ||
core.h | ||
da903x.h | ||
davinci_voicecodec.h | ||
db5500-prcmu.h | ||
db8500-prcmu.h | ||
dbx500-prcmu.h | ||
ds1wm.h | ||
ezx-pcap.h | ||
htc-egpio.h | ||
htc-pasic3.h | ||
intel_msic.h | ||
janz.h | ||
max8925.h | ||
max8997-private.h | ||
max8997.h | ||
max8998-private.h | ||
max8998.h | ||
mc13xxx.h | ||
mc13783.h | ||
mc13892.h | ||
mcp.h | ||
rdc321x.h | ||
stmpe.h | ||
t7l66xb.h | ||
tc3589x.h | ||
tc6387xb.h | ||
tc6393xb.h | ||
ti_ssp.h | ||
tmio.h | ||
tps6105x.h | ||
tps6507x.h | ||
tps6586x.h | ||
tps65910.h | ||
tps65912.h | ||
twl4030-audio.h | ||
twl6040.h | ||
ucb1x00.h | ||
wl1273-core.h | ||
wm8400-audio.h | ||
wm8400-private.h | ||
wm8400.h |