]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
fbdev: ssd1307fb: Drop optional dependency
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 1 Nov 2022 15:09:46 +0000 (17:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:26:28 +0000 (13:26 +0100)
[ Upstream commit 025e3b507a3a8e1ee96a3112bb67495c77d6cdb6 ]

Only a single out of three devices need a PWM, so from driver it's
optional. Moreover it's a single driver in the entire kernel that
currently selects PWM. Unfortunately this selection is a root cause
of the circular dependencies when we want to enable optional PWM
for some other drivers that select GPIOLIB.

Fixes: a2ed00da5047 ("drivers/video: add support for the Solomon SSD1307 OLED Controller")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/Kconfig

index cfc55273dc5d1df9a013fcc0a1c9f4b636b04ccb..9497fe92916226a118dc5960bc5cbd06ff8fcacd 100644 (file)
@@ -2217,7 +2217,6 @@ config FB_SSD1307
        select FB_SYS_COPYAREA
        select FB_SYS_IMAGEBLIT
        select FB_DEFERRED_IO
-       select PWM
        select FB_BACKLIGHT
        help
          This driver implements support for the Solomon SSD1307