Blame view

include/asm-arm/fb.h 375 Bytes
10eb2659c   Antonino A. Daplas   fbdev: move arch-...
1
2
  #ifndef _ASM_FB_H_
  #define _ASM_FB_H_
317b3c216   Antonino A. Daplas   fbdev: detect pri...
3
  #include <linux/fb.h>
10eb2659c   Antonino A. Daplas   fbdev: move arch-...
4
5
6
7
8
9
10
11
  #include <linux/fs.h>
  #include <asm/page.h>
  
  static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
  				unsigned long off)
  {
  	vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
  }
317b3c216   Antonino A. Daplas   fbdev: detect pri...
12
13
14
15
  static inline int fb_is_primary_device(struct fb_info *info)
  {
  	return 0;
  }
10eb2659c   Antonino A. Daplas   fbdev: move arch-...
16
  #endif /* _ASM_FB_H_ */