Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>
diff --git a/linux-2.6.x/include/asm-nios2nommu/fb.h
b/linux-2.6.x/include/asm-nios2nommu/fb.h
new file mode 100644
index 0000000..c7df380
--- /dev/null
+++ b/linux-2.6.x/include/asm-nios2nommu/fb.h
@@ -0,0 +1,12 @@
+#ifndef _ASM_FB_H_
+#define _ASM_FB_H_
+#include <linux/fb.h>
+
+#define fb_pgprotect(...) do {} while (0)
+
+static inline int fb_is_primary_device(struct fb_info *info)
+{
+ return 0;
+}
+
+#endif /* _ASM_FB_H_ */
--
1.5.3.3
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev