mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
2fd001cd36
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>
67 lines
1.7 KiB
Makefile
67 lines
1.7 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# asm headers that all architectures except um should have
|
|
# (This file is not included when SRCARCH=um since UML borrows several
|
|
# asm headers from the host architecture.)
|
|
|
|
mandatory-y += atomic.h
|
|
mandatory-y += archrandom.h
|
|
mandatory-y += barrier.h
|
|
mandatory-y += bitops.h
|
|
mandatory-y += bug.h
|
|
mandatory-y += bugs.h
|
|
mandatory-y += cacheflush.h
|
|
mandatory-y += cfi.h
|
|
mandatory-y += checksum.h
|
|
mandatory-y += compat.h
|
|
mandatory-y += current.h
|
|
mandatory-y += delay.h
|
|
mandatory-y += device.h
|
|
mandatory-y += div64.h
|
|
mandatory-y += dma-mapping.h
|
|
mandatory-y += dma.h
|
|
mandatory-y += emergency-restart.h
|
|
mandatory-y += exec.h
|
|
mandatory-y += ftrace.h
|
|
mandatory-y += futex.h
|
|
mandatory-y += hardirq.h
|
|
mandatory-y += hw_irq.h
|
|
mandatory-y += io.h
|
|
mandatory-y += irq.h
|
|
mandatory-y += irq_regs.h
|
|
mandatory-y += irq_work.h
|
|
mandatory-y += kdebug.h
|
|
mandatory-y += kmap_size.h
|
|
mandatory-y += kprobes.h
|
|
mandatory-y += linkage.h
|
|
mandatory-y += local.h
|
|
mandatory-y += local64.h
|
|
mandatory-y += mmiowb.h
|
|
mandatory-y += mmu.h
|
|
mandatory-y += mmu_context.h
|
|
mandatory-y += module.h
|
|
mandatory-y += module.lds.h
|
|
mandatory-y += msi.h
|
|
mandatory-y += pci.h
|
|
mandatory-y += percpu.h
|
|
mandatory-y += pgalloc.h
|
|
mandatory-y += preempt.h
|
|
mandatory-y += rwonce.h
|
|
mandatory-y += sections.h
|
|
mandatory-y += serial.h
|
|
mandatory-y += shmparam.h
|
|
mandatory-y += simd.h
|
|
mandatory-y += softirq_stack.h
|
|
mandatory-y += switch_to.h
|
|
mandatory-y += timex.h
|
|
mandatory-y += tlbflush.h
|
|
mandatory-y += topology.h
|
|
mandatory-y += trace_clock.h
|
|
mandatory-y += uaccess.h
|
|
mandatory-y += unaligned.h
|
|
mandatory-y += vermagic.h
|
|
mandatory-y += vga.h
|
|
mandatory-y += video.h
|
|
mandatory-y += word-at-a-time.h
|
|
mandatory-y += xor.h
|