diff mbox

drm/shmobile: Add run-time dependencies

Message ID 20140526145213.0fda8428@endymion.delvare (mailing list archive)
State New, archived
Headers show

Commit Message

Jean Delvare May 26, 2014, 12:52 p.m. UTC
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@suse.de>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: David Airlie <airlied@linux.ie>
---
 drivers/gpu/drm/shmobile/Kconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Dave Airlie May 27, 2014, 5:47 a.m. UTC | #1
On 26 May 2014 23:28, Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
> Hi Jean,
>
> Thank you for the patch.
>
> On Monday 26 May 2014 14:52:13 Jean Delvare wrote:
>> 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@suse.de>
>> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
>> Cc: David Airlie <airlied@linux.ie>
>
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>
> Dave, could you please take this patch (and the related drm/rcar-du patch) in
> your tree ?

Done.

Dave.
diff mbox

Patch

--- 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