tmp_suning_uos_patched/drivers/hwmon
Jamie Lentin eaa7cc60f7 hwmon: Only include of_match_table with CONFIG_OF_GPIO
The following fixes build errors on sparc. Without any DT support,
of_match_ptr is NULL and the below is a no-op. However, if just
CONFIG_OF is defined then so is of_match_ptr.

All useful parts of the gpio-fan DT support rely on CONFIG_OF_GPIO
anyway, so of_match_table should too.

Signed-off-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2012-11-01 17:31:20 -07:00
..
pmbus hwmon: (pmbus) remove CONFIG_EXPERIMENTAL 2012-10-14 15:21:33 -07:00
abituguru.c hwmon: (abituguru) Convert to use devm_ functions 2012-09-23 21:08:29 -07:00
abituguru3.c hwmon: (abituguru3) Convert to use devm_ functions 2012-09-23 21:08:29 -07:00
acpi_power_meter.c hwmon: Add missing inclusions of <linux/err.h> 2012-10-10 15:25:56 +02:00
ad7314.c hwmon: (ad7314) Convert to use devm_ functions 2012-09-23 21:08:29 -07:00
ad7414.c hwmon: (ad7414) Convert to use devm_ functions 2012-09-23 21:08:29 -07:00
ad7418.c hwmon: (ad7418) Convert to use devm_ functions 2012-09-23 21:08:29 -07:00
adcxx.c hwmon: (adcxx) Simplify show_name function 2012-09-23 21:08:35 -07:00
adm1021.c
adm1025.c
adm1026.c
adm1029.c hwmon: (adm1029) Convert to use devm_ functions 2012-09-23 21:08:29 -07:00
adm1031.c
adm9240.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
ads1015.c hwmon: (ads1015) Convert to use devm_ functions 2012-09-23 21:08:30 -07:00
ads7828.c hwmon: (ads7828) Convert to use devm_ functions 2012-09-23 21:08:30 -07:00
ads7871.c hwmon: (ads7871) Convert to use devm_ functions 2012-09-23 21:08:30 -07:00
adt7410.c hwmon: (adt7410) handle errors from adt7410_update_device() 2012-09-23 21:08:33 -07:00
adt7411.c hwmon: Drop needless includes of <linux/delay.h> 2012-10-10 15:25:57 +02:00
adt7462.c hwmon: Drop needless includes of <linux/delay.h> 2012-10-10 15:25:57 +02:00
adt7470.c hwmon: (adt7470) Convert to use devm_ functions 2012-09-23 21:08:30 -07:00
adt7475.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
amc6821.c hwmon: (amc6821) Convert to use devm_ functions 2012-09-23 21:08:30 -07:00
applesmc.c hwmon: Add missing inclusions of <linux/err.h> 2012-10-10 15:25:56 +02:00
asb100.c hwmon: (asb100) Convert to use devm_ functions 2012-09-23 21:08:30 -07:00
asc7621.c
asus_atk0110.c hwmon: Add missing inclusions of <linux/err.h> 2012-10-10 15:25:56 +02:00
atxp1.c
coretemp.c hwmon: (coretemp) Add support for Atom CE4110/4150/4170 2012-10-14 15:21:33 -07:00
da9052-hwmon.c hwmon: Drop needless includes of <linux/delay.h> 2012-10-10 15:25:57 +02:00
dme1737.c hwmon: (dme1737) Convert to use devm_ functions 2012-09-23 21:08:30 -07:00
ds620.c hwmon: (ds620) Convert to use devm_ functions 2012-09-23 21:08:31 -07:00
ds1621.c
emc6w201.c hwmon: Drop needless includes of <linux/delay.h> 2012-10-10 15:25:57 +02:00
emc1403.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
emc2103.c hwmon: (emc2103) Convert to use devm_ functions 2012-09-23 21:08:31 -07:00
f71805f.c
f71882fg.c hwmon: (f71882fg) Convert to use devm_ functions 2012-09-23 21:08:31 -07:00
f75375s.c hwmon: (f75375s) Convert to use devm_ functions 2012-09-23 21:08:31 -07:00
fam15h_power.c hwmon, fam15h_power: Change email address, MAINTAINERS entry 2012-10-29 17:48:01 -07:00
fschmd.c
g760a.c hwmon: (g760a) Convert to use devm_ functions 2012-09-23 21:08:31 -07:00
gl518sm.c
gl520sm.c
gpio-fan.c hwmon: Only include of_match_table with CONFIG_OF_GPIO 2012-11-01 17:31:20 -07:00
hih6130.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
hwmon-vid.c
hwmon.c
i5k_amb.c hwmon: Drop needless includes of <linux/delay.h> 2012-10-10 15:25:57 +02:00
ibmaem.c hwmon: Add missing inclusions of <linux/err.h> 2012-10-10 15:25:56 +02:00
ibmpex.c hwmon: Add missing inclusions of <linux/err.h> 2012-10-10 15:25:56 +02:00
ina2xx.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
it87.c
jc42.c hwmon: (jc42) Don't reset hysteresis on device removal 2012-07-27 13:59:22 -07:00
jz4740-hwmon.c hwmon: (jz4740-hwmon) Convert to use devm_ functions 2012-09-23 21:08:33 -07:00
k8temp.c hwmon: Drop needless includes of <linux/delay.h> 2012-10-10 15:25:57 +02:00
k10temp.c
Kconfig Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux into thermal 2012-10-09 01:35:52 -04:00
lineage-pem.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
lm63.c
lm70.c hwmon: (lm70) Simplify show_name function 2012-09-23 21:08:35 -07:00
lm73.c
lm75.c
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c
lm92.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
lm93.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
lm95241.c hwmon: (lm95241) Convert to use devm_ functions 2012-09-23 21:08:31 -07:00
lm95245.c hwmon: (lm95245) Convert to use devm_ functions 2012-09-23 21:08:31 -07:00
ltc4151.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
ltc4215.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
ltc4245.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
ltc4261.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
Makefile Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux into thermal 2012-10-09 01:35:52 -04:00
max197.c hwmon: add Maxim MAX197 support 2012-09-23 21:08:33 -07:00
max1111.c hwmon: (max1111) Add support for MAX1110, MAX1112, and MAX1113 2012-09-23 21:08:34 -07:00
max1619.c hwmon: Update Alexey Fisher's name 2012-10-10 15:25:56 +02:00
max1668.c hwmon: (max1668) Convert to use devm_ functions 2012-09-23 21:08:32 -07:00
max6639.c
max6642.c hwmon: Update Alexey Fisher's name 2012-10-10 15:25:56 +02:00
max6650.c
max16065.c hwmon: Drop needless includes of <linux/delay.h> 2012-10-10 15:25:57 +02:00
mc13783-adc.c
mcp3021.c hwmon: (mcp3021) Add MCP3221 support 2012-09-23 21:08:36 -07:00
ntc_thermistor.c
pc87360.c
pc87427.c
pcf8591.c
s3c-hwmon.c hwmon: Drop needless includes of <linux/delay.h> 2012-10-10 15:25:57 +02:00
sch56xx-common.c hwmon: (sch56xx-common) Fix build warnings 2012-09-23 21:08:29 -07:00
sch56xx-common.h
sch5627.c hwmon: (sch5627) Convert to use devm_ functions 2012-09-23 21:08:32 -07:00
sch5636.c hwmon: (sch5636) Convert to use devm_ functions 2012-09-23 21:08:32 -07:00
sht15.c hwmon: (sht15) move header to linux/platform_data/ 2012-09-23 21:08:35 -07:00
sht21.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
sis5595.c
smm665.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
smsc47b397.c
smsc47m1.c
smsc47m192.c
thmc50.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
tmp102.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
tmp401.c
tmp421.c
twl4030-madc-hwmon.c hwmon: (twl4030-madc-hwmon) Initialize uninitialized structure elements 2012-09-11 21:16:27 -07:00
ultra45_env.c hwmon: Add missing inclusions of <linux/err.h> 2012-10-10 15:25:56 +02:00
via-cputemp.c hwmon: (via-cputemp) Convert to use devm_ functions 2012-09-23 21:08:33 -07:00
via686a.c
vt1211.c
vt8231.c hwmon: (vt8231) Convert to use devm_ functions 2012-09-23 21:08:33 -07:00
w83l785ts.c
w83l786ng.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
w83627ehf.c
w83627hf.c sections: Fix section conflicts in drivers/hwmon 2012-08-18 16:17:43 -07:00
w83781d.c
w83791d.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
w83792d.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
w83793.c hwmon: Add missing inclusions of <linux/jiffies.h> 2012-10-10 15:25:56 +02:00
w83795.c hwmon: Drop needless includes of <linux/delay.h> 2012-10-10 15:25:57 +02:00
wm831x-hwmon.c
wm8350-hwmon.c