summaryrefslogtreecommitdiff
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-04-17 15:56:45 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2023-04-20 11:04:58 +0300
commitcf41d18b72c8b79f617c59529171faf49aa74dca (patch)
tree8e772c9ad2390c65e2dcc5b7c21ad69ac1d903f6 /arch/parisc/include
parentd77f0ecdac62968ec99a18deff3d91b453974b9c (diff)
downloadlinux-cf41d18b72c8b79f617c59529171faf49aa74dca.tar.xz
arch/parisc: Implement fb_is_primary_device() under arch/parisc
Move PARISC's implementation of fb_is_primary_device() into the architecture directory. This the place of the declaration and where other architectures implement this function. No functional changes. 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-14-tzimmermann@suse.de
Diffstat (limited to 'arch/parisc/include')
-rw-r--r--arch/parisc/include/asm/fb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/fb.h b/arch/parisc/include/asm/fb.h
index 55d29c4f716e..0b9a38ced5c8 100644
--- a/arch/parisc/include/asm/fb.h
+++ b/arch/parisc/include/asm/fb.h
@@ -12,7 +12,7 @@ static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
pgprot_val(vma->vm_page_prot) |= _PAGE_NO_CACHE;
}
-#if defined(CONFIG_FB_STI)
+#if defined(CONFIG_STI_CORE)
int fb_is_primary_device(struct fb_info *info);
#else
static inline int fb_is_primary_device(struct fb_info *info)