![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * Copyright (C) 2012 ARM Ltd. 0004 */ 0005 #ifndef __ASM_FB_H_ 0006 #define __ASM_FB_H_ 0007 0008 #include <linux/fb.h> 0009 #include <linux/fs.h> 0010 #include <asm/page.h> 0011 0012 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, 0013 unsigned long off) 0014 { 0015 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); 0016 } 0017 0018 static inline int fb_is_primary_device(struct fb_info *info) 0019 { 0020 return 0; 0021 } 0022 0023 #endif /* __ASM_FB_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |