[PATCH] drm/shmobile: Add run-time dependencies
Jean Delvare
jdelvare at suse.de
Mon May 26 05:52:13 PDT 2014
The shmobile DRM driver is only useful on SuperH and shmobile unless
build testing. I am dropping the SuperH dependencies though because
the driver doesn't even build there, so in practice it is an arm-only
driver for now.
Signed-off-by: Jean Delvare <jdelvare at suse.de>
Cc: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
Cc: David Airlie <airlied at linux.ie>
---
drivers/gpu/drm/shmobile/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-3.15-rc7.orig/drivers/gpu/drm/shmobile/Kconfig 2014-03-31 05:40:15.000000000 +0200
+++ linux-3.15-rc7/drivers/gpu/drm/shmobile/Kconfig 2014-05-26 14:43:55.431904229 +0200
@@ -1,6 +1,7 @@
config DRM_SHMOBILE
tristate "DRM Support for SH Mobile"
- depends on DRM && (ARM || SUPERH)
+ depends on DRM && ARM
+ depends on ARCH_SHMOBILE || COMPILE_TEST
select BACKLIGHT_CLASS_DEVICE
select DRM_KMS_HELPER
select DRM_KMS_FB_HELPER
--
Jean Delvare
SUSE L3 Support
More information about the dri-devel
mailing list