From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C44B46B5 for ; Mon, 16 Jan 2023 16:23:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4759C433EF; Mon, 16 Jan 2023 16:23:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1673886183; bh=5bc2H347MwetR1zbZm35E8yRtiU49k0LRgw3HPqe3xc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lo0EXfYrq/ctwu/nyl5pLu/0UBNsJjdr+QG/mBo5gZDm1Dfx5DlcNGrb8MtVOEENf ju6O+jImdf/ptQISWWc3eQ2W+p6jdItuAM3JvXQNWurBpFFtC0Cy3/6jFaHd91u0f1 8aVr0WVFqSNcm2EpAA+lyHsDgvUpM0Co4r7MaPvk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Andy Shevchenko , Helge Deller , Sasha Levin Subject: [PATCH 5.4 316/658] fbdev: ssd1307fb: Drop optional dependency Date: Mon, 16 Jan 2023 16:46:44 +0100 Message-Id: <20230116154924.020426469@linuxfoundation.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230116154909.645460653@linuxfoundation.org> References: <20230116154909.645460653@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Andy Shevchenko [ 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 Signed-off-by: Helge Deller Signed-off-by: Sasha Levin --- drivers/video/fbdev/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index a7e5f12687b7..124ed0e8454e 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2243,7 +2243,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