]> 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, 7 Jan 2023 11:07:27 +0000 (12:07 +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 c0d4e645f3b51e673c21e39d6c863656e4c6b382..e2c51e2ffc802fb024f73c635cb6e1c9277f9e9c 100644 (file)
@@ -2471,7 +2471,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