arch/sparc: Implement fb_is_primary_device() in source file
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 17 Apr 2023 12:56:49 +0000 (14:56 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 20 Apr 2023 08:05:12 +0000 (10:05 +0200)
commit4eec0b3048fcd74b504c2a6828a07f133a8ab508
tree1472e4b7c1747a8505151affeaad444c6a451e37
parentb6cf29637be638a6846d2d297d80cf7c6fb74faf
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
arch/sparc/Makefile
arch/sparc/include/asm/fb.h
arch/sparc/video/Makefile [new file with mode: 0644]
arch/sparc/video/fbdev.c [new file with mode: 0644]