]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-m68k/fb.h
sparc/drivers: use linux/of_device.h instead of asm/of_device.h
[linux-2.6-omap-h63xx.git] / include / asm-m68k / fb.h
index f78bad476b089f9cbf3f804821c034ef26abc50f..380b97ae8157fa2d7762db1cf99dceda2f59cf4d 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _ASM_FB_H_
 #define _ASM_FB_H_
 
+#include <linux/fb.h>
 #include <linux/fs.h>
 #include <asm/page.h>
 #include <asm/setup.h>
@@ -25,4 +26,9 @@ static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
 }
 #endif /* CONFIG_SUN3 */
 
+static inline int fb_is_primary_device(struct fb_info *info)
+{
+       return 0;
+}
+
 #endif /* _ASM_FB_H_ */