]> Git Repo - linux.git/blob - arch/loongarch/include/asm/fb.h
crypto: testmgr - allow ecdsa-nist-p256 and -p384 in FIPS mode
[linux.git] / arch / loongarch / include / asm / fb.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
4  */
5 #ifndef _ASM_FB_H_
6 #define _ASM_FB_H_
7
8 #include <linux/fb.h>
9 #include <linux/fs.h>
10 #include <asm/page.h>
11
12 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
13                                 unsigned long off)
14 {
15         vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
16 }
17
18 static inline int fb_is_primary_device(struct fb_info *info)
19 {
20         return 0;
21 }
22
23 #endif /* _ASM_FB_H_ */
This page took 0.033504 seconds and 4 git commands to generate.