diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-04-17 15:56:45 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-04-20 11:04:58 +0300 |
commit | cf41d18b72c8b79f617c59529171faf49aa74dca (patch) | |
tree | 8e772c9ad2390c65e2dcc5b7c21ad69ac1d903f6 /arch/parisc/include/asm/fb.h | |
parent | d77f0ecdac62968ec99a18deff3d91b453974b9c (diff) | |
download | linux-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/asm/fb.h')
-rw-r--r-- | arch/parisc/include/asm/fb.h | 2 |
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) |