]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc64/fb.h
sound: oxygen: fix NULL pointer dereference when loading snd-oxygen
[linux-2.6-omap-h63xx.git] / include / asm-sparc64 / fb.h
index d6cd3a175fc34b8fbcec6f034905b4c7f588621a..1c2ac5832f3998a060c74155e5e784415d5819f9 100644 (file)
@@ -1,18 +1 @@
-#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_noncached(vma->vm_page_prot);
-}
-
-static inline int fb_is_primary_device(struct fb_info *info)
-{
-       return 0;
-}
-
-#endif /* _ASM_FB_H_ */
+#include <asm-sparc/fb.h>