summaryrefslogtreecommitdiffstats
path: root/arch/x86/video
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-03-29 21:32:10 +0100
committerArnd Bergmann <arnd@arndb.de>2024-05-03 17:07:50 +0200
commitf25eae2c405cbe810f8c52d743ea2b507c3fc301 (patch)
tree67c17fa3bd11e7f19d21cabc560e8fcb95df5d2a /arch/x86/video
parent9c313ccdfc079f71f16c9b3d3a6c6d60996b9367 (diff)
downloadlinux-stable-f25eae2c405cbe810f8c52d743ea2b507c3fc301.tar.gz
linux-stable-f25eae2c405cbe810f8c52d743ea2b507c3fc301.tar.bz2
linux-stable-f25eae2c405cbe810f8c52d743ea2b507c3fc301.zip
arch: Select fbdev helpers with CONFIG_VIDEO
Various Kconfig options selected the per-architecture helpers for fbdev. But none of the contained code depends on fbdev. Standardize on CONFIG_VIDEO, which will allow to add more general helpers for video functionality. CONFIG_VIDEO protects each architecture's video/ directory. This allows for the use of more fine-grained control for each directory's files, such as the use of CONFIG_STI_CORE on parisc. v2: - sparc: rebased onto Makefile changes Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com> Cc: Helge Deller <deller@gmx.de> Cc: "David S. Miller" <davem@davemloft.net> Cc: Andreas Larsson <andreas@gaisler.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: x86@kernel.org Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/x86/video')
-rw-r--r--arch/x86/video/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/video/Makefile b/arch/x86/video/Makefile
index 5ebe48752ffc..9dd82880a027 100644
--- a/arch/x86/video/Makefile
+++ b/arch/x86/video/Makefile
@@ -1,2 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_FB_CORE) += fbdev.o
+
+obj-y += fbdev.o