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 9CFAE82C76; Thu, 13 Jun 2024 11:58:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718279909; cv=none; b=N6Tz7Z3u08LMz2rF/GCpK2XcTW9kzWcztCgvJZk5OfOldQE+1wJj2hqbdd7/nUmQNrIod222PPN5UyMQxcZO34qebv5Z/R1oo5r21k6msuLSzm1AfO3eAE9InGKSzEvmMJG6ZansaCrEWzcyfTvZ+/ubFWtajO6GiF+8TWmnL60= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718279909; c=relaxed/simple; bh=E+MXnAK9OCf8WXKt0ZV2hbsQLnMLxeiUBYieiCS0H2o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Ec9q8KFDLSj+3p/uhNxhoObA0hUc+KK/+iItTYwTrjgOups6vAfFfdlvqHs+KiIJJeWIwwwYjeKUmSr/X/D91jh7niQLr3ueRrnNaCn18SuoOks1RW7uV0eBWjSP7SCLn4GHnoYKBoOk0JZMr1ip6o9kw3udSB+ZjjBfRfQgwE4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Pd6fpWCB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Pd6fpWCB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9BEF0C2BBFC; Thu, 13 Jun 2024 11:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718279909; bh=E+MXnAK9OCf8WXKt0ZV2hbsQLnMLxeiUBYieiCS0H2o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Pd6fpWCBhuMPEAwjEy19/NkwjHB8qnkm8qDw0WgQ4YAsYQchdSBwxxi2gXegK1pVx 6gxmsIpvYI2zVZJrqbnn0EJmjHBW/cVavQvxNr6i6ERcSw2Y5qlV9YRenB38SkGPE5 KumAYH4wULKXFuEK2Yn3kNqOb36VCMtkA6widqCY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Geert Uytterhoeven , Randy Dunlap , Thomas Zimmermann , Javier Martinez Canillas , John Paul Adrian Glaubitz , Sam Ravnborg , Helge Deller , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Sasha Levin Subject: [PATCH 5.4 077/202] fbdev: sh7760fb: allow modular build Date: Thu, 13 Jun 2024 13:32:55 +0200 Message-ID: <20240613113230.745852233@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240613113227.759341286@linuxfoundation.org> References: <20240613113227.759341286@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Randy Dunlap [ Upstream commit 51084f89d687e14d96278241e5200cde4b0985c7 ] There is no reason to prohibit sh7760fb from being built as a loadable module as suggested by Geert, so change the config symbol from bool to tristate to allow that and change the FB dependency as needed. Fixes: f75f71b2c418 ("fbdev/sh7760fb: Depend on FB=y") Suggested-by: Geert Uytterhoeven Signed-off-by: Randy Dunlap Cc: Thomas Zimmermann Cc: Javier Martinez Canillas Cc: John Paul Adrian Glaubitz Cc: Sam Ravnborg Cc: Helge Deller Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Acked-by: John Paul Adrian Glaubitz Acked-by: Javier Martinez Canillas Signed-off-by: Helge Deller Signed-off-by: Sasha Levin --- drivers/video/fbdev/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 0396df868bc79..8a3014455327b 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2031,8 +2031,8 @@ config FB_COBALT depends on FB && MIPS_COBALT config FB_SH7760 - bool "SH7760/SH7763/SH7720/SH7721 LCDC support" - depends on FB=y && (CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7763 \ + tristate "SH7760/SH7763/SH7720/SH7721 LCDC support" + depends on FB && (CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7763 \ || CPU_SUBTYPE_SH7720 || CPU_SUBTYPE_SH7721) select FB_CFB_FILLRECT select FB_CFB_COPYAREA -- 2.43.0