diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-04-17 14:56:49 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-04-20 10:05:12 +0200 |
commit | 4eec0b3048fcd74b504c2a6828a07f133a8ab508 (patch) | |
tree | 1472e4b7c1747a8505151affeaad444c6a451e37 /arch/sparc/video/Makefile | |
parent | b6cf29637be638a6846d2d297d80cf7c6fb74faf (diff) | |
download | lwn-4eec0b3048fcd74b504c2a6828a07f133a8ab508.tar.gz lwn-4eec0b3048fcd74b504c2a6828a07f133a8ab508.zip |
arch/sparc: Implement fb_is_primary_device() in source file
Other architectures implment fb_is_primary_device() in a source
file. Do the same on sparc. No functional changes, but allows to
remove several include statement from <asm/fb.h>.
v2:
* don't include <asm/prom.h> in header file
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: "David S. Miller" <davem@davemloft.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230417125651.25126-18-tzimmermann@suse.de
Diffstat (limited to 'arch/sparc/video/Makefile')
-rw-r--r-- | arch/sparc/video/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/video/Makefile b/arch/sparc/video/Makefile new file mode 100644 index 000000000000..6baddbd58e4d --- /dev/null +++ b/arch/sparc/video/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_FB) += fbdev.o |