Message ID | 20240210053938.30558-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-60287-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1329076dyd; Fri, 9 Feb 2024 22:47:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlxO8ae6jDkKL3M7iZJ8fQmAA5n59Is3vFZIdqDSmrpZBKyyo7gnKAjAc6ZSrdd3vzxCu8 X-Received: by 2002:a05:6358:910c:b0:176:8f0a:be with SMTP id q12-20020a056358910c00b001768f0a00bemr2669419rwq.13.1707547641275; Fri, 09 Feb 2024 22:47:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707547641; cv=pass; d=google.com; s=arc-20160816; b=H6RvBjtSXvcL9tPDw2RIE1XkU+plCfs3tf8dSPAsmTIs9j8IuCHMUESrwmBZEr8Bzc 16wAG8V9pBuJoW8u6BfopHPRjaAzkoPEWOlqkciPVEtwo5pkqTYeaZo0LEn2ySaHRYpO Ny/MrFnd3NfCcfKZQlp2zbS6QNDrWwn3JkjCqhojc6ln7lBHI/dUuTV75LWTa7VjltKE WQW2Tnv3KkPGEd6cV53S8kN19L1wiXRxV2Ru2lX54vOgkErXIrLLbd2e3v4RilPdGbqI SbxuVaO/L9Ad4ynCUArznMurEE5hJC49xqdwjoVJMMcnqLPbxuyewiC6+fDBcE0d19fm J1EA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=E+99tlygCzTff7/Lep6ynyrCUPd965OcPCGgKVbHlJI=; fh=4Ji5IyNM+M7b51NDtCyqSk0GgzaLuILuPWcI0xCUErI=; b=oZPYlx1cmZb7NthKokzVR2juzQJHBmwLYQLSR8cVYHW/+SArRYJIM6AHYddNcGtbkX 6ftNRhmV3adRcEqWxLAdRu7uTy/HhFmMMgEm11TOqIQJ+RQ89MzjqOk6mOMs8x6WiCOA 6dF+gvTsWuYJwAR61wa0Lm86U4i+qOvauT4qxfEXLcN4V6+aVEJxWfmr74Q4lJeMBigV nRtHWoVC+aRHcBxkPPhMfC/uahBhbg+A9lrav79bROo7WI51mmvR5Z+In/ERf4vCK3RA jALLzJdZUSNRlWOTQxP5GGf4nBZ+SvHYw/LJAR8OGxTVmIktxiiTJ0P1PzchTT0tuq2+ 17Mg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RzTE3mmK; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-60287-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60287-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXudXNuGB2Hwy3E9hkZ+HbTSGhf6STcZKP2gWV1M67XEgKRIKnnFAizavdzVrKe11xTxxsuxyaFrMZc5KFfT2FKLWn5Ww== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y15-20020aa7854f000000b006de169e5800si1625943pfn.373.2024.02.09.22.47.20 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 22:47:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60287-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RzTE3mmK; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-60287-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60287-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 25821B24728 for <ouuuleilei@gmail.com>; Sat, 10 Feb 2024 05:40:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2B2B171B4; Sat, 10 Feb 2024 05:39:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="RzTE3mmK" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 52D79538B; Sat, 10 Feb 2024 05:39:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707543584; cv=none; b=CzCs5JQGLYAb7uieGJO7zw4S8A2wZ156bTrK6fJrArlBjCmSaPzApnhW7b+jwgIaUYT1viX/h1akUFFfNYvtSK0IBZFr2CgLQhUNOdIwTis8hJNmQlnpec5piFUhAtKQDOBNeCRmt123D9RD+lHk8pgkV/lkBDklCQxfclisDNg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707543584; c=relaxed/simple; bh=ymS3THZPo/dGfmpHzhuCPt9BRs7X7mcRRvh0DplpSuQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aLC1HxC1bWjuOgrZISdULSa0rYmxPjW+QjV+zJzbF9CVDz0nVNkezL7gH5x2Ei2QaWndkpwK/ZStspV6VrDEb8BKn9HBCgTk3AYFI6vjwdoVYvZsK8cyqRrfn+u35wpntEpm5htFlEeKDqFa6PyuQ+O4cmkEmiTT6OhGr2zDU4o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=RzTE3mmK; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=E+99tlygCzTff7/Lep6ynyrCUPd965OcPCGgKVbHlJI=; b=RzTE3mmKu17bVfIXNvYCTuq4CM r/AZx+vIkZXY6ETgwEYbvgUYlmtv/Z25NkvtzyJY+HC0dJJLk7bsJPfNzbrt2ZqfBotLgBDzcCZAW yhvXX5uo4a8lXsEfsaq8IJ15b9N0XdOF8M3BOnfU9VjL97DolXZvp6ngjbmoF7OvK6X3UWu6l2Z3z t0DsWsRKwZ8leaZXaZbpz7j5GTeOsf6ktz4D2dl5FVcCRDv9jpiMYHcaZHm0oto/wBB0Fafk2rVkj mJEOJmDOukQIJgHSScTODhlQugZ+DxjlzmPzg0W+Bpy6BhcPDjskjOtfNlpFpXv27SUg7lymVCo2H BiB1CZyQ==; Received: from [50.53.50.0] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYg5T-00000001Fdo-1cm8; Sat, 10 Feb 2024 05:39:39 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Geert Uytterhoeven <geert@linux-m68k.org>, Thomas Zimmermann <tzimmermann@suse.de>, Javier Martinez Canillas <javierm@redhat.com>, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>, Sam Ravnborg <sam@ravnborg.org>, Helge Deller <deller@gmx.de>, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH] fbdev/sh7760fb: allow modular build Date: Fri, 9 Feb 2024 21:39:38 -0800 Message-ID: <20240210053938.30558-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790493475492939577 X-GMAIL-MSGID: 1790493475492939577 |
Series |
fbdev/sh7760fb: allow modular build
|
|
Commit Message
Randy Dunlap
Feb. 10, 2024, 5:39 a.m. UTC
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 <geert@linux-m68k.org>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
---
drivers/video/fbdev/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Randy Dunlap <rdunlap@infradead.org> writes: > 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 <geert@linux-m68k.org> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Thomas Zimmermann <tzimmermann@suse.de> > Cc: Javier Martinez Canillas <javierm@redhat.com> > Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> > Cc: Sam Ravnborg <sam@ravnborg.org> > Cc: Helge Deller <deller@gmx.de> > Cc: linux-fbdev@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > --- > drivers/video/fbdev/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Acked-by: Javier Martinez Canillas <javierm@redhat.com>
On Fri, 2024-02-09 at 21:39 -0800, Randy Dunlap wrote: > 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 <geert@linux-m68k.org> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Thomas Zimmermann <tzimmermann@suse.de> > Cc: Javier Martinez Canillas <javierm@redhat.com> > Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> > Cc: Sam Ravnborg <sam@ravnborg.org> > Cc: Helge Deller <deller@gmx.de> > Cc: linux-fbdev@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > --- > drivers/video/fbdev/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff -- a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig > --- a/drivers/video/fbdev/Kconfig > +++ b/drivers/video/fbdev/Kconfig > @@ -1645,8 +1645,8 @@ config FB_COBALT > select FB_IOMEM_HELPERS > > 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_IOMEM_HELPERS > help Acked-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Adrian
diff -- a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -1645,8 +1645,8 @@ config FB_COBALT select FB_IOMEM_HELPERS 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_IOMEM_HELPERS help