arch: Rename fbdev header and source files
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 29 Mar 2024 20:32:12 +0000 (21:32 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 3 May 2024 15:07:50 +0000 (17:07 +0200)
commit2fd001cd36005846caa6456fff1008c6f5bae9d4
tree281b12151496d108fa606eddebbe661a3fc2c2c6
parentf178e96de7f0868e1b4d6df687794961f30125f2
arch: Rename fbdev header and source files

The per-architecture fbdev code has no dependencies on fbdev and can
be used for any video-related subsystem. Rename the files to 'video'.
Use video-sti.c on parisc as the source file depends on CONFIG_STI_CORE.

On arc, arm, arm64, sh, and um the asm header file is an empty wrapper
around the file in asm-generic. Let Kbuild generate the file. The build
system does this automatically. Only um needs to generate video.h
explicitly, so that it overrides the host architecture's header. The
latter would otherwise interfere with the build.

Further update all includes statements, include guards, and Makefiles.
Also update a few strings and comments to refer to video instead of
fbdev.

v3:
- arc, arm, arm64, sh: generate asm header via build system (Sam,
Helge, Arnd)
- um: rename fb.h to video.h
- fix typo in commit message (Sam)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Vineet Gupta <vgupta@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: WANG Xuerui <kernel@xen0n.name>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.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>
33 files changed:
arch/arc/include/asm/fb.h [deleted file]
arch/arm/include/asm/fb.h [deleted file]
arch/arm64/include/asm/fb.h [deleted file]
arch/loongarch/include/asm/fb.h [deleted file]
arch/loongarch/include/asm/video.h [new file with mode: 0644]
arch/m68k/include/asm/fb.h [deleted file]
arch/m68k/include/asm/video.h [new file with mode: 0644]
arch/mips/include/asm/fb.h [deleted file]
arch/mips/include/asm/video.h [new file with mode: 0644]
arch/parisc/include/asm/fb.h [deleted file]
arch/parisc/include/asm/video.h [new file with mode: 0644]
arch/parisc/video/Makefile
arch/parisc/video/fbdev.c [deleted file]
arch/parisc/video/video-sti.c [new file with mode: 0644]
arch/powerpc/include/asm/fb.h [deleted file]
arch/powerpc/include/asm/video.h [new file with mode: 0644]
arch/powerpc/kernel/pci-common.c
arch/sh/include/asm/fb.h [deleted file]
arch/sparc/include/asm/fb.h [deleted file]
arch/sparc/include/asm/video.h [new file with mode: 0644]
arch/sparc/video/Makefile
arch/sparc/video/fbdev.c [deleted file]
arch/sparc/video/video.c [new file with mode: 0644]
arch/um/include/asm/Kbuild
arch/x86/include/asm/fb.h [deleted file]
arch/x86/include/asm/video.h [new file with mode: 0644]
arch/x86/video/Makefile
arch/x86/video/fbdev.c [deleted file]
arch/x86/video/video.c [new file with mode: 0644]
include/asm-generic/Kbuild
include/asm-generic/fb.h [deleted file]
include/asm-generic/video.h [new file with mode: 0644]
include/linux/fb.h