aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r--include/asm-x86_64/fb.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-x86_64/fb.h b/include/asm-x86_64/fb.h
index d30073c75586..60548e651d12 100644
--- a/include/asm-x86_64/fb.h
+++ b/include/asm-x86_64/fb.h
@@ -1,6 +1,6 @@
1#ifndef _ASM_FB_H_ 1#ifndef _ASM_FB_H_
2#define _ASM_FB_H_ 2#define _ASM_FB_H_
3 3#include <linux/fb.h>
4#include <linux/fs.h> 4#include <linux/fs.h>
5#include <asm/page.h> 5#include <asm/page.h>
6 6
@@ -11,4 +11,9 @@ static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
11 pgprot_val(vma->vm_page_prot) |= _PAGE_PCD; 11 pgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
12} 12}
13 13
14static inline int fb_is_primary_device(struct fb_info *info)
15{
16 return 0;
17}
18
14#endif /* _ASM_FB_H_ */ 19#endif /* _ASM_FB_H_ */