arch/m68k: Implement <asm/fb.h> with generic helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 17 Apr 2023 12:56:40 +0000 (14:56 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 20 Apr 2023 08:04:41 +0000 (10:04 +0200)
commitdb21647767db268cebc4a244c61700aeb4a0b17d
treee00238226fedc119e1989f2197d591e5e7dd238f
parentd847517950f07353c1195de098c25024f948fe37
arch/m68k: Implement <asm/fb.h> with generic helpers

Replace the architecture's fb_is_primary_device() with the generic
one from <asm-generic/fb.h>. No functional changes.

v2:
* provide empty fb_pgprotect() on non-MMU systems

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230417125651.25126-9-tzimmermann@suse.de
arch/m68k/include/asm/fb.h