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)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 02:00:08 +0000 (12:00 +1000)
The driver registers a backlight device and thus requires
BACKLIGHT_CLASS_DEVICE to be selected to avoid compilation breakages.

Cc: stable@vger.kernel.org
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>
drivers/gpu/drm/shmobile/Kconfig

index d1372862d871b083726638a77b7b8d8419287fb4..2ee44ca9d67f9e3e6873831fec3b0fdeefd77e29 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_FB_HELPER
        select DRM_KMS_CMA_HELPER