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:14:31 +0000 (13:14 +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 6ed5e60..5050a9f 100644 (file)
@@ -2218,7 +2218,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