Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: shmobile: Add dependency on BACKLIGHT_CLASS_DEVICE

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>

authored by

Laurent Pinchart and committed by
Dave Airlie
0a5a5499 ad3543ed

+1
+1
drivers/gpu/drm/shmobile/Kconfig
··· 1 1 config DRM_SHMOBILE 2 2 tristate "DRM Support for SH Mobile" 3 3 depends on DRM && (ARM || SUPERH) 4 + select BACKLIGHT_CLASS_DEVICE 4 5 select DRM_KMS_HELPER 5 6 select DRM_KMS_FB_HELPER 6 7 select DRM_KMS_CMA_HELPER