linux/drivers/gpu/drm/tinydrm
Arnd Bergmann 8312a3fe84 tinydrm: repaper: add CONFIG_THERMAL dependency
The new RePaper driver uses the thermal subsystem, and fails to link
when it is built-in but thermal is a loadable module:

drivers/gpu/drm/tinydrm/repaper.o: In function `repaper_probe':
repaper.c:(.text+0x540): undefined reference to `thermal_zone_get_zone_by_name'
drivers/gpu/drm/tinydrm/repaper.o: In function `repaper_fb_dirty':
repaper.c:(.text+0xff4): undefined reference to `thermal_zone_get_temp'

This adds another Kconfig dependency to prevent the broken configuration,
forcing repaper to be a module too.

Fixes: 3589211e9b ("drm/tinydrm: Add RePaper e-ink driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170727100004.300665-1-arnd@arndb.de
2017-07-29 14:41:39 +02:00
..
core drm/tinydrm: Add tinydrm_xrgb8888_to_gray8() helper 2017-07-14 19:29:59 +02:00
Kconfig tinydrm: repaper: add CONFIG_THERMAL dependency 2017-07-29 14:41:39 +02:00
Makefile drm/tinydrm: Add RePaper e-ink driver 2017-07-14 19:30:08 +02:00
mi0283qt.c drm/tinydrm: Fix drm_driver.fops.owner 2017-03-27 08:41:35 +02:00
mipi-dbi.c drm: Use vsnprintf extension %ph 2017-05-31 10:30:38 +02:00
repaper.c drm/tinydrm: Add RePaper e-ink driver 2017-07-14 19:30:08 +02:00