diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-05-26 08:52:13 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-05-27 01:47:07 -0400 |
commit | c66de8cc2ea629412338e4976ef33ed5b72a2339 (patch) | |
tree | 59c98bff2ab0cd1339f399453c726e0a3aeed290 | |
parent | 923d941990e90ed8ed768b5b6cf5b9d5202b8ff1 (diff) |
drm/shmobile: Add run-time dependencies
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>
Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/shmobile/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/shmobile/Kconfig b/drivers/gpu/drm/shmobile/Kconfig index 2ee44ca9d67f..a50fe0eeaa0d 100644 --- a/drivers/gpu/drm/shmobile/Kconfig +++ b/drivers/gpu/drm/shmobile/Kconfig | |||
@@ -1,6 +1,7 @@ | |||
1 | config DRM_SHMOBILE | 1 | config DRM_SHMOBILE |
2 | tristate "DRM Support for SH Mobile" | 2 | tristate "DRM Support for SH Mobile" |
3 | depends on DRM && (ARM || SUPERH) | 3 | depends on DRM && ARM |
4 | depends on ARCH_SHMOBILE || COMPILE_TEST | ||
4 | select BACKLIGHT_CLASS_DEVICE | 5 | select BACKLIGHT_CLASS_DEVICE |
5 | select DRM_KMS_HELPER | 6 | select DRM_KMS_HELPER |
6 | select DRM_KMS_FB_HELPER | 7 | select DRM_KMS_FB_HELPER |