| From 2d7fad2ec7965b1e4e29428fe696918bfa67d541 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Tue, 1 Nov 2022 17:09:46 +0200 |
| Subject: fbdev: ssd1307fb: Drop optional dependency |
| |
| From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
| |
| [ 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 | 1 - |
| 1 file changed, 1 deletion(-) |
| |
| diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig |
| index cfc55273dc5d..9497fe929162 100644 |
| --- a/drivers/video/fbdev/Kconfig |
| +++ b/drivers/video/fbdev/Kconfig |
| @@ -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 |
| -- |
| 2.35.1 |
| |