arch/arc: Implement <asm/fb.h> with generic helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 17 Apr 2023 12:56:34 +0000 (14:56 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 20 Apr 2023 08:04:19 +0000 (10:04 +0200)
commit3a6155052b07157f3af49e1e63f68cb1943f7de9
tree9231a5f828673421efa0fd8dacd858ac7f9ee090
parent91254a4d2e01b8a91c6f0929b77e5fff676a0751
arch/arc: Implement <asm/fb.h> with generic helpers

Replace the architecture's fbdev helpers with the generic ones from
<asm-generic/fb.h>. On arc, pgprot_writecombine() and pgprot_noncached()
are the same; hence no functional changes.

v3:
* use default implementation for fb_pgprotect() (Arnd)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Vineet Gupta <vgupta@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230417125651.25126-3-tzimmermann@suse.de
arch/arc/include/asm/fb.h