[PATCH -next] drm: fix kconfig unmet dependency warning

Randy Dunlap rdunlap at xenotime.net
Wed Aug 10 14:25:34 PDT 2011


On Wed, 10 Aug 2011 14:24:01 -0700 Randy Dunlap wrote:

Sorry, this applies to mainline, not linux-next.


> From: Randy Dunlap <rdunlap at xenotime.net>
> 
> Fix kconfig unmet dependency warning.  BACKLIGHT_CLASS_DEVICE depends on
> BACKLIGHT_LCD_SUPPORT, so select the latter along with the former.
> 
> warning: (DRM_RADEON_KMS && DRM_I915 && STUB_POULSBO && FB_BACKLIGHT && PANEL_SHARP_LS037V7DW01 && PANEL_ACX565AKM && USB_APPLEDISPLAY && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI && EEEPC_LAPTOP && ACPI_ASUS && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
> 
> Signed-off-by: Randy Dunlap <rdunlap at xenotime.net>
> ---
>  drivers/gpu/drm/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- lnx-31-rc1.orig/drivers/gpu/drm/Kconfig
> +++ lnx-31-rc1/drivers/gpu/drm/Kconfig
> @@ -96,6 +96,7 @@ config DRM_I915
>  	select FB_CFB_IMAGEBLIT
>  	# i915 depends on ACPI_VIDEO when ACPI is enabled
>  	# but for select to work, need to select ACPI_VIDEO's dependencies, ick
> +	select BACKLIGHT_LCD_SUPPORT if ACPI
>  	select BACKLIGHT_CLASS_DEVICE if ACPI
>  	select VIDEO_OUTPUT_CONTROL if ACPI
>  	select INPUT if ACPI
> --


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***


More information about the dri-devel mailing list