# SPDX-License-Identifier: GPL-2.0
#
# Makefile for sensor chip drivers.
#
obj-$([31mCONFIG_HWMON[0m) += hwmon.o
obj-$([31mCONFIG_HWMON_VID[0m) += hwmon-vid.o
# APCI drivers
obj-$([31mCONFIG_SENSORS_ACPI_POWER[0m) += acpi_power_meter.o
obj-$([31mCONFIG_SENSORS_ATK0110[0m) += asus_atk0110.o
# Native drivers
# asb100, then w83781d go first, as they can override other drivers' addresses.
obj-$([31mCONFIG_SENSORS_ASB100[0m) += asb100.o
obj-$([31mCONFIG_SENSORS_W83627HF[0m) += w83627hf.o
obj-$([31mCONFIG_SENSORS_W83773G[0m) += w83773g.o
obj-$([31mCONFIG_SENSORS_W83792D[0m) += w83792d.o
obj-$([31mCONFIG_SENSORS_W83793[0m) += w83793.o
obj-$([31mCONFIG_SENSORS_W83795[0m) += w83795.o
obj-$([31mCONFIG_SENSORS_W83781D[0m) += w83781d.o
obj-$([31mCONFIG_SENSORS_W83791D[0m) += w83791d.o
obj-$([31mCONFIG_SENSORS_AB8500[0m) += abx500.o ab8500.o
obj-$([31mCONFIG_SENSORS_ABITUGURU[0m) += abituguru.o
obj-$([31mCONFIG_SENSORS_ABITUGURU3[0m)+= abituguru3.o
obj-$([31mCONFIG_SENSORS_AD7314[0m) += ad7314.o
obj-$([31mCONFIG_SENSORS_AD7414[0m) += ad7414.o
obj-$([31mCONFIG_SENSORS_AD7418[0m) += ad7418.o
obj-$([31mCONFIG_SENSORS_ADC128D818[0m) += adc128d818.o
obj-$([31mCONFIG_SENSORS_ADCXX[0m) += adcxx.o
obj-$([31mCONFIG_SENSORS_ADM1021[0m) += adm1021.o
obj-$([31mCONFIG_SENSORS_ADM1025[0m) += adm1025.o
obj-$([31mCONFIG_SENSORS_ADM1026[0m) += adm1026.o
obj-$([31mCONFIG_SENSORS_ADM1029[0m) += adm1029.o
obj-$([31mCONFIG_SENSORS_ADM1031[0m) += adm1031.o
obj-$([31mCONFIG_SENSORS_ADM9240[0m) += adm9240.o
obj-$([31mCONFIG_SENSORS_ADS7828[0m) += ads7828.o
obj-$([31mCONFIG_SENSORS_ADS7871[0m) += ads7871.o
obj-$([31mCONFIG_SENSORS_ADT7X10[0m) += adt7x10.o
obj-$([31mCONFIG_SENSORS_ADT7310[0m) += adt7310.o
obj-$([31mCONFIG_SENSORS_ADT7410[0m) += adt7410.o
obj-$([31mCONFIG_SENSORS_ADT7411[0m) += adt7411.o
obj-$([31mCONFIG_SENSORS_ADT7462[0m) += adt7462.o
obj-$([31mCONFIG_SENSORS_ADT7470[0m) += adt7470.o
obj-$([31mCONFIG_SENSORS_ADT7475[0m) += adt7475.o
obj-$([31mCONFIG_SENSORS_APPLESMC[0m) += applesmc.o
obj-$([31mCONFIG_SENSORS_ARM_SCMI[0m) += scmi-hwmon.o
obj-$([31mCONFIG_SENSORS_ARM_SCPI[0m) += scpi-hwmon.o
obj-$([31mCONFIG_SENSORS_AS370[0m) += as370-hwmon.o
obj-$([31mCONFIG_SENSORS_ASC7621[0m) += asc7621.o
obj-$([31mCONFIG_SENSORS_ASPEED[0m) += aspeed-pwm-tacho.o
obj-$([31mCONFIG_SENSORS_ATXP1[0m) += atxp1.o
obj-$([31mCONFIG_SENSORS_CORETEMP[0m) += coretemp.o
obj-$([31mCONFIG_SENSORS_DA9052_ADC[0m)+= da9052-hwmon.o
obj-$([31mCONFIG_SENSORS_DA9055[0m)+= da9055-hwmon.o
obj-$([31mCONFIG_SENSORS_DELL_SMM[0m) += dell-smm-hwmon.o
obj-$([31mCONFIG_SENSORS_DME1737[0m) += dme1737.o
obj-$([31mCONFIG_SENSORS_DS620[0m) += ds620.o
obj-$([31mCONFIG_SENSORS_DS1621[0m) += ds1621.o
obj-$([31mCONFIG_SENSORS_EMC1403[0m) += emc1403.o
obj-$([31mCONFIG_SENSORS_EMC2103[0m) += emc2103.o
obj-$([31mCONFIG_SENSORS_EMC6W201[0m) += emc6w201.o
obj-$([31mCONFIG_SENSORS_F71805F[0m) += f71805f.o
obj-$([31mCONFIG_SENSORS_F71882FG[0m) += f71882fg.o
obj-$([31mCONFIG_SENSORS_F75375S[0m) += f75375s.o
obj-$([31mCONFIG_SENSORS_FAM15H_POWER[0m) += fam15h_power.o
obj-$([31mCONFIG_SENSORS_FSCHMD[0m) += fschmd.o
obj-$([31mCONFIG_SENSORS_FTSTEUTATES[0m) += ftsteutates.o
obj-$([31mCONFIG_SENSORS_G760A[0m) += g760a.o
obj-$([31mCONFIG_SENSORS_G762[0m) += g762.o
obj-$([31mCONFIG_SENSORS_GL518SM[0m) += gl518sm.o
obj-$([31mCONFIG_SENSORS_GL520SM[0m) += gl520sm.o
obj-$([31mCONFIG_SENSORS_GPIO_FAN[0m) += gpio-fan.o
obj-$([31mCONFIG_SENSORS_HIH6130[0m) += hih6130.o
obj-$([31mCONFIG_SENSORS_ULTRA45[0m) += ultra45_env.o
obj-$([31mCONFIG_SENSORS_I5500[0m) += i5500_temp.o
obj-$([31mCONFIG_SENSORS_I5K_AMB[0m) += i5k_amb.o
obj-$([31mCONFIG_SENSORS_IBMAEM[0m) += ibmaem.o
obj-$([31mCONFIG_SENSORS_IBMPEX[0m) += ibmpex.o
obj-$([31mCONFIG_SENSORS_IBMPOWERNV[0m)+= ibmpowernv.o
obj-$([31mCONFIG_SENSORS_IIO_HWMON[0m) += iio_hwmon.o
obj-$([31mCONFIG_SENSORS_INA209[0m) += ina209.o
obj-$([31mCONFIG_SENSORS_INA2XX[0m) += ina2xx.o
obj-$([31mCONFIG_SENSORS_INA3221[0m) += ina3221.o
obj-$([31mCONFIG_SENSORS_IT87[0m) += it87.o
obj-$([31mCONFIG_SENSORS_JC42[0m) += jc42.o
obj-$([31mCONFIG_SENSORS_K8TEMP[0m) += k8temp.o
obj-$([31mCONFIG_SENSORS_K10TEMP[0m) += k10temp.o
obj-$([31mCONFIG_SENSORS_LINEAGE[0m) += lineage-pem.o
obj-$([31mCONFIG_SENSORS_LOCHNAGAR[0m) += lochnagar-hwmon.o
obj-$([31mCONFIG_SENSORS_LM63[0m) += lm63.o
obj-$([31mCONFIG_SENSORS_LM70[0m) += lm70.o
obj-$([31mCONFIG_SENSORS_LM73[0m) += lm73.o
obj-$([31mCONFIG_SENSORS_LM75[0m) += lm75.o
obj-$([31mCONFIG_SENSORS_LM77[0m) += lm77.o
obj-$([31mCONFIG_SENSORS_LM78[0m) += lm78.o
obj-$([31mCONFIG_SENSORS_LM80[0m) += lm80.o
obj-$([31mCONFIG_SENSORS_LM83[0m) += lm83.o
obj-$([31mCONFIG_SENSORS_LM85[0m) += lm85.o
obj-$([31mCONFIG_SENSORS_LM87[0m) += lm87.o
obj-$([31mCONFIG_SENSORS_LM90[0m) += lm90.o
obj-$([31mCONFIG_SENSORS_LM92[0m) += lm92.o
obj-$([31mCONFIG_SENSORS_LM93[0m) += lm93.o
obj-$([31mCONFIG_SENSORS_LM95234[0m) += lm95234.o
obj-$([31mCONFIG_SENSORS_LM95241[0m) += lm95241.o
obj-$([31mCONFIG_SENSORS_LM95245[0m) += lm95245.o
obj-$([31mCONFIG_SENSORS_LTC2945[0m) += ltc2945.o
obj-$([31mCONFIG_SENSORS_LTC2990[0m) += ltc2990.o
obj-$([31mCONFIG_SENSORS_LTC4151[0m) += ltc4151.o
obj-$([31mCONFIG_SENSORS_LTC4215[0m) += ltc4215.o
obj-$([31mCONFIG_SENSORS_LTC4222[0m) += ltc4222.o
obj-$([31mCONFIG_SENSORS_LTC4245[0m) += ltc4245.o
obj-$([31mCONFIG_SENSORS_LTC4260[0m) += ltc4260.o
obj-$([31mCONFIG_SENSORS_LTC4261[0m) += ltc4261.o
obj-$([31mCONFIG_SENSORS_LTQ_CPUTEMP[0m) += ltq-cputemp.o
obj-$([31mCONFIG_SENSORS_MAX1111[0m) += max1111.o
obj-$([31mCONFIG_SENSORS_MAX16065[0m) += max16065.o
obj-$([31mCONFIG_SENSORS_MAX1619[0m) += max1619.o
obj-$([31mCONFIG_SENSORS_MAX1668[0m) += max1668.o
obj-$([31mCONFIG_SENSORS_MAX197[0m) += max197.o
obj-$([31mCONFIG_SENSORS_MAX31722[0m) += max31722.o
obj-$([31mCONFIG_SENSORS_MAX6621[0m) += max6621.o
obj-$([31mCONFIG_SENSORS_MAX6639[0m) += max6639.o
obj-$([31mCONFIG_SENSORS_MAX6642[0m) += max6642.o
obj-$([31mCONFIG_SENSORS_MAX6650[0m) += max6650.o
obj-$([31mCONFIG_SENSORS_MAX6697[0m) += max6697.o
obj-$([31mCONFIG_SENSORS_MAX31790[0m) += max31790.o
obj-$([31mCONFIG_SENSORS_MC13783_ADC[0m)+= mc13783-adc.o
obj-$([31mCONFIG_SENSORS_MCP3021[0m) += mcp3021.o
obj-$([31mCONFIG_SENSORS_TC654[0m) += tc654.o
obj-$([31mCONFIG_SENSORS_MLXREG_FAN[0m) += mlxreg-fan.o
obj-$([31mCONFIG_SENSORS_MENF21BMC_HWMON[0m) += menf21bmc_hwmon.o
obj-$([31mCONFIG_SENSORS_NCT6683[0m) += nct6683.o
obj-$([31mCONFIG_SENSORS_NCT6775[0m) += nct6775.o
obj-$([31mCONFIG_SENSORS_NCT7802[0m) += nct7802.o
obj-$([31mCONFIG_SENSORS_NCT7904[0m) += nct7904.o
obj-$([31mCONFIG_SENSORS_NPCM7XX[0m) += npcm750-pwm-fan.o
obj-$([31mCONFIG_SENSORS_NSA320[0m) += nsa320-hwmon.o
obj-$([31mCONFIG_SENSORS_NTC_THERMISTOR[0m) += ntc_thermistor.o
obj-$([31mCONFIG_SENSORS_PC87360[0m) += pc87360.o
obj-$([31mCONFIG_SENSORS_PC87427[0m) += pc87427.o
obj-$([31mCONFIG_SENSORS_PCF8591[0m) += pcf8591.o
obj-$([31mCONFIG_SENSORS_POWR1220[0m) += powr1220.o
obj-$([31mCONFIG_SENSORS_PWM_FAN[0m) += pwm-fan.o
obj-$([31mCONFIG_SENSORS_RASPBERRYPI_HWMON[0m) += raspberrypi-hwmon.o
obj-$([31mCONFIG_SENSORS_S3C[0m) += s3c-hwmon.o
obj-$([31mCONFIG_SENSORS_SCH56XX_COMMON[0m)+= sch56xx-common.o
obj-$([31mCONFIG_SENSORS_SCH5627[0m) += sch5627.o
obj-$([31mCONFIG_SENSORS_SCH5636[0m) += sch5636.o
obj-$([31mCONFIG_SENSORS_SHT15[0m) += sht15.o
obj-$([31mCONFIG_SENSORS_SHT21[0m) += sht21.o
obj-$([31mCONFIG_SENSORS_SHT3x[0m) += sht3x.o
obj-$([31mCONFIG_SENSORS_SHTC1[0m) += shtc1.o
obj-$([31mCONFIG_SENSORS_SIS5595[0m) += sis5595.o
obj-$([31mCONFIG_SENSORS_SMM665[0m) += smm665.o
obj-$([31mCONFIG_SENSORS_SMSC47B397[0m)+= smsc47b397.o
obj-$([31mCONFIG_SENSORS_SMSC47M1[0m) += smsc47m1.o
obj-$([31mCONFIG_SENSORS_SMSC47M192[0m)+= smsc47m192.o
obj-$([31mCONFIG_SENSORS_STTS751[0m) += stts751.o
obj-$([31mCONFIG_SENSORS_AMC6821[0m) += amc6821.o
obj-$([31mCONFIG_SENSORS_TC74[0m) += tc74.o
obj-$([31mCONFIG_SENSORS_THMC50[0m) += thmc50.o
obj-$([31mCONFIG_SENSORS_TMP102[0m) += tmp102.o
obj-$([31mCONFIG_SENSORS_TMP103[0m) += tmp103.o
obj-$([31mCONFIG_SENSORS_TMP108[0m) += tmp108.o
obj-$([31mCONFIG_SENSORS_TMP401[0m) += tmp401.o
obj-$([31mCONFIG_SENSORS_TMP421[0m) += tmp421.o
obj-$([31mCONFIG_SENSORS_VEXPRESS[0m) += vexpress-hwmon.o
obj-$([31mCONFIG_SENSORS_VIA_CPUTEMP[0m)+= via-cputemp.o
obj-$([31mCONFIG_SENSORS_VIA686A[0m) += via686a.o
obj-$([31mCONFIG_SENSORS_VT1211[0m) += vt1211.o
obj-$([31mCONFIG_SENSORS_VT8231[0m) += vt8231.o
obj-$([31mCONFIG_SENSORS_W83627EHF[0m) += w83627ehf.o
obj-$([31mCONFIG_SENSORS_W83L785TS[0m) += w83l785ts.o
obj-$([31mCONFIG_SENSORS_W83L786NG[0m) += w83l786ng.o
obj-$([31mCONFIG_SENSORS_WM831X[0m) += wm831x-hwmon.o
obj-$([31mCONFIG_SENSORS_WM8350[0m) += wm8350-hwmon.o
obj-$([31mCONFIG_SENSORS_XGENE[0m) += xgene-hwmon.o
obj-$([31mCONFIG_SENSORS_OCC[0m) += occ/
obj-$([31mCONFIG_PMBUS[0m) += pmbus/
ccflags-$([31mCONFIG_HWMON_DEBUG_CHIP[0m) := -DDEBUG