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 B20661AD9D5; Thu, 6 Jun 2024 14:15:37 +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=1717683337; cv=none; b=qqp2ITWWgT3htjNV+MC02dHfLhrfaGgL3IAGs8eRwqxgCGYozlbQoZCv1ZIg7KwqKg2T8tmeoBnmcQDNLJX4n/Ckf9RVXMlmnh/N62YY53iGdbjaY23ngxBxMS9X8MAWl0/mH1BXVGO0+M119muYUN8va6rviJWTbx5J+VnAR2E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717683337; c=relaxed/simple; bh=sWxVXphpHOp+nvSwnvHDM8aSVO3oewbIXQFiDEcabyM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=D9pRDHqiEZiKXrBtYufBxkzExGCBy8HWTRDPUJyqEj8F/aCHdcGGbGjtH+H95zCC+WLA0zrhmUppgudk//L+hj+DHwJhFUUs20qMPJn0rIvDwgJBUuHFYXGLHvk3vwIr8gKLVNGPYZ9b12yHFKvjGMarTVE20tQDd2XX4W+aS4Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DWQa6FT8; 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="DWQa6FT8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FFDCC2BD10; Thu, 6 Jun 2024 14:15:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717683337; bh=sWxVXphpHOp+nvSwnvHDM8aSVO3oewbIXQFiDEcabyM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DWQa6FT8otdeyX+IMfMwv3PoDHQnqOOUitJyf0scUjEjYSTmDK6VuttHPeygatMOD uoxyA6v9yodDYpe5fU+yjj5yYS9ZO2mfddbH/zWVS+LIzzKTrylmIJEDa4twCCRAt2 Yp1+9ENwRvi+z7Lwnd0M2LBdL/vBV7pfnTas4erE= 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 6.1 219/473] fbdev: sh7760fb: allow modular build Date: Thu, 6 Jun 2024 16:02:28 +0200 Message-ID: <20240606131707.137002943@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240606131659.786180261@linuxfoundation.org> References: <20240606131659.786180261@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 6.1-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 ff95f19224901..37089d5a7ccc5 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2014,8 +2014,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