]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm: shmobile: Add dependency on BACKLIGHT_CLASS_DEVICE
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 29 Oct 2013 17:20:58 +0000 (18:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Nov 2013 19:27:54 +0000 (11:27 -0800)
commit 0a5a5499ad886dde4a032203d01e324cfe593f99 upstream.

The driver registers a backlight device and thus requires
BACKLIGHT_CLASS_DEVICE to be selected to avoid compilation breakages.

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/shmobile/Kconfig

index ca498d151a76597de53a8f96bfe19f2279ac29bb..5240690b96c309fc6da7a7c529f0084e9b4d3134 100644 (file)
@@ -1,6 +1,7 @@
 config DRM_SHMOBILE
        tristate "DRM Support for SH Mobile"
        depends on DRM && (ARM || SUPERH)
+       select BACKLIGHT_CLASS_DEVICE
        select DRM_KMS_HELPER
        select DRM_KMS_CMA_HELPER
        select DRM_GEM_CMA_HELPER