diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-04-21 10:12:16 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-21 10:12:16 +0200 |
commit | 4db25d496c09fdf094d52d11a90ae51f9ee473c6 (patch) | |
tree | 77ab8003db1d6ccbcf3a9acafad26002fba37b63 /arch/m32r/include/asm/fb.h | |
parent | sh: sh7723: Don't default enable the RTC clock. (diff) | |
parent | sh: Fix mmap2 for handling differing PAGE_SIZEs. (diff) | |
download | linux-4db25d496c09fdf094d52d11a90ae51f9ee473c6.tar.xz linux-4db25d496c09fdf094d52d11a90ae51f9ee473c6.zip |
Merge branch 'sh/stable-updates' into sh/for-2.6.30
Diffstat (limited to 'arch/m32r/include/asm/fb.h')
-rw-r--r-- | arch/m32r/include/asm/fb.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/m32r/include/asm/fb.h b/arch/m32r/include/asm/fb.h new file mode 100644 index 000000000000..d92e99cd8c8a --- /dev/null +++ b/arch/m32r/include/asm/fb.h @@ -0,0 +1,19 @@ +#ifndef _ASM_FB_H_ +#define _ASM_FB_H_ + +#include <linux/fb.h> +#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); +} + +static inline int fb_is_primary_device(struct fb_info *info) +{ + return 0; +} + +#endif /* _ASM_FB_H_ */ |