mirror of https://github.com/torvalds/linux.git
The sun4i-ts driver has had a dependency on the thermal code
with the addition of the thermal zone sensor support, but this
is not currently enforced in Kconfig, so with TOUCHSCREEN_SUN4I=y,
THERMAL=m and THERMAL_OF=y we get
drivers/built-in.o: In function `sun4i_ts_remove':
:(.text+0x2376f4): undefined reference to `thermal_zone_of_sensor_unregister'
drivers/built-in.o: In function `sun4i_ts_probe':
:(.text+0x237a94): undefined reference to `thermal_zone_of_sensor_register'
:(.text+0x237c00): undefined reference to `thermal_zone_of_sensor_unregister'
We need the dependency on THERMAL in order to ensure that this
driver becomes a loadable module if the thermal support itself
is modular, while the dependency on THERMAL_OF is a runtime
dependency and the driver will still build if it is missing.
It is entirely possible to build sun4i-ts without THERMAL_OF
just to use the hwmon sensors and/or touchscreen.
Fixes:
|
||
|---|---|---|
| .. | ||
| 88pm860x-ts.c | ||
| Kconfig | ||
| Makefile | ||
| ad7877.c | ||
| ad7879-i2c.c | ||
| ad7879-spi.c | ||
| ad7879.c | ||
| ad7879.h | ||
| ads7846.c | ||
| ar1021_i2c.c | ||
| atmel-wm97xx.c | ||
| atmel_mxt_ts.c | ||
| auo-pixcir-ts.c | ||
| bu21013_ts.c | ||
| cy8ctmg110_ts.c | ||
| cyttsp4_core.c | ||
| cyttsp4_core.h | ||
| cyttsp4_i2c.c | ||
| cyttsp4_spi.c | ||
| cyttsp_core.c | ||
| cyttsp_core.h | ||
| cyttsp_i2c.c | ||
| cyttsp_i2c_common.c | ||
| cyttsp_spi.c | ||
| da9034-ts.c | ||
| da9052_tsi.c | ||
| dynapro.c | ||
| edt-ft5x06.c | ||
| eeti_ts.c | ||
| egalax_ts.c | ||
| elants_i2c.c | ||
| elo.c | ||
| fujitsu_ts.c | ||
| goodix.c | ||
| gunze.c | ||
| hampshire.c | ||
| hp680_ts_input.c | ||
| htcpen.c | ||
| ili210x.c | ||
| inexio.c | ||
| intel-mid-touch.c | ||
| ipaq-micro-ts.c | ||
| jornada720_ts.c | ||
| lpc32xx_ts.c | ||
| mainstone-wm97xx.c | ||
| max11801_ts.c | ||
| mc13783_ts.c | ||
| mcs5000_ts.c | ||
| migor_ts.c | ||
| mk712.c | ||
| mms114.c | ||
| mtouch.c | ||
| of_touchscreen.c | ||
| pcap_ts.c | ||
| penmount.c | ||
| pixcir_i2c_ts.c | ||
| s3c2410_ts.c | ||
| st1232.c | ||
| stmpe-ts.c | ||
| sun4i-ts.c | ||
| sur40.c | ||
| ti_am335x_tsc.c | ||
| touchit213.c | ||
| touchright.c | ||
| touchwin.c | ||
| tps6507x-ts.c | ||
| tsc40.c | ||
| tsc2005.c | ||
| tsc2007.c | ||
| ucb1400_ts.c | ||
| usbtouchscreen.c | ||
| w90p910_ts.c | ||
| wacom_i2c.c | ||
| wacom_w8001.c | ||
| wm97xx-core.c | ||
| wm831x-ts.c | ||
| wm9705.c | ||
| wm9712.c | ||
| wm9713.c | ||
| zforce_ts.c | ||
| zylonite-wm97xx.c | ||