Back to home page

OSCL-LXR

 
 

    


0001 #ifndef _ASM_FB_H_
0002 #define _ASM_FB_H_
0003 
0004 #include <linux/fb.h>
0005 #include <linux/fs.h>
0006 #include <asm/page.h>
0007 
0008 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
0009                 unsigned long off)
0010 {
0011     vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
0012 }
0013 
0014 static inline int fb_is_primary_device(struct fb_info *info)
0015 {
0016     return 0;
0017 }
0018 
0019 #endif /* _ASM_FB_H_ */