Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1363438rdb; Fri, 9 Feb 2024 21:39:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGnyjEOStlXDcXH5idEvPwBJ/IEc5a2Fo6Ux1f5y6WJQYdtbocDtm+dHI1SqU+g9Sl815N X-Received: by 2002:a92:d44a:0:b0:363:d9c7:a7e3 with SMTP id r10-20020a92d44a000000b00363d9c7a7e3mr1583463ilm.6.1707543593188; Fri, 09 Feb 2024 21:39:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707543593; cv=pass; d=google.com; s=arc-20160816; b=AlsIQryg0pqqTsfcUKUp8KlFnaSSwbhxXkrobAXW43omwhFtsGIWFR1pdVxjaMAp5A aOK5Se1xSUlKhWFpfcungAueLqOy72F3pRfRJMZhWCef9wa4G/+2n1j7+zgECxlopzoF V915jNjNfteJQheRysSmsy3qSlQLvUjSenz6ygfkjazSw3Ka7nYvsOIHqwygmC28klg4 b72Aqqwk0gqYtzvlabOHFuNwV27YlFpRkvzSWxxVlpwI71wP+AIqXpQdpA3D8Tekfo9c c0fFdatC08FLoDCXPVH7uOhof/13xASnq+5U3zlHg/ozdTKiQJRtLmVQ1x8AaaMJL7kB fc+w== 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=EE5sqYsxXQiF8KH8qBW4cbFA5Lzad6aM641NWeIJZf4=; b=gf6mA9gvvvijylz5v+9XOOickJ3603xh8de3NAQHcoNtcf3LIKKHGzAWJJl96+qkE7 NHJxrXMoic6PS9+Q8YuGYmBZKooP6l/o26hJNeeovwcNKmiYiqdSeH5JaWqzDJ/rTalE WAoScAVr9uksgPTAwtSS59FkiVvb4SvtI0OSNDetz8vCFEyCvW9yYw8MKvsvbo4C4v6o 9fDpMjANg0nTikl8XVnteS5Ei9FMxRjLKdbHyGjl2t8XDS6f5clm7YCcFVLm0FQQmqtn oViUX1b/zoYKfp7n2YsjWdTgWsdLfGm02mVIW2P/gY76c4nRhWelrWDInWorw6A41cuG FztA==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60287-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCVi0gab9Ep52mnxtUHPwzSXkPDwbBO/rJ2ZpNQX8nPhyjLV1zKJvMLv0dTwgL5zVRw+9YaVDvIS9KY1HnkzhDAK55fBwjzrKsGLzO2pKg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s26-20020a63af5a000000b005cdfc019319si2880672pgo.751.2024.02.09.21.39.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 21:39:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60287-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60287-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 701C2288779 for ; Sat, 10 Feb 2024 05:39:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC6A6125D2; Sat, 10 Feb 2024 05:39:45 +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 To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Geert Uytterhoeven , Thomas Zimmermann , Javier Martinez Canillas , John Paul Adrian Glaubitz , Sam Ravnborg , Helge Deller , 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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