Replace the architecture's fbdev helpers with the generic ones from <asm-generic/fb.h>. On PARISC, 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: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com> Cc: Helge Deller <deller@gmx.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Helge Deller <deller@gmx.de> Link: https://patchwork.freedesktop.org/patch/msgid/20230417125651.25126-15-tzimmermann@suse.de
15 lines
283 B
C
15 lines
283 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_FB_H_
|
|
#define _ASM_FB_H_
|
|
|
|
struct fb_info;
|
|
|
|
#if defined(CONFIG_STI_CORE)
|
|
int fb_is_primary_device(struct fb_info *info);
|
|
#define fb_is_primary_device fb_is_primary_device
|
|
#endif
|
|
|
|
#include <asm-generic/fb.h>
|
|
|
|
#endif /* _ASM_FB_H_ */
|