Re: [PATCH 2/3] fbdev: rework backlight dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/27/21 6:27 AM, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@xxxxxxxx>

Rather than having CONFIG_FB_BACKLIGHT select CONFIG_BACKLIGHT_CLASS_DEVICE,
make any driver that needs it have a dependency on the class device
being available, to prevent circular dependencies.

This is the same way that the backlight is already treated for the DRM
subsystem.

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
---
  drivers/auxdisplay/Kconfig        |  1 +
  drivers/macintosh/Kconfig         |  1 +
  drivers/staging/fbtft/Kconfig     |  1 +
  drivers/staging/olpc_dcon/Kconfig |  2 +-
  drivers/video/fbdev/Kconfig       | 14 +++++++++++---
  5 files changed, 15 insertions(+), 4 deletions(-)

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Thanks.

--
~Randy




[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux