1*e5e0a65cSAlexey Brodkin #ifndef _ASM_FB_H_ 2*e5e0a65cSAlexey Brodkin #define _ASM_FB_H_ 3*e5e0a65cSAlexey Brodkin 4*e5e0a65cSAlexey Brodkin #include <linux/fb.h> 5*e5e0a65cSAlexey Brodkin #include <linux/fs.h> 6*e5e0a65cSAlexey Brodkin #include <asm/page.h> 7*e5e0a65cSAlexey Brodkin 8*e5e0a65cSAlexey Brodkin static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, 9*e5e0a65cSAlexey Brodkin unsigned long off) 10*e5e0a65cSAlexey Brodkin { 11*e5e0a65cSAlexey Brodkin vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 12*e5e0a65cSAlexey Brodkin } 13*e5e0a65cSAlexey Brodkin 14*e5e0a65cSAlexey Brodkin static inline int fb_is_primary_device(struct fb_info *info) 15*e5e0a65cSAlexey Brodkin { 16*e5e0a65cSAlexey Brodkin return 0; 17*e5e0a65cSAlexey Brodkin } 18*e5e0a65cSAlexey Brodkin 19*e5e0a65cSAlexey Brodkin #endif /* _ASM_FB_H_ */ 20