Hi Thomas,

Thomas Chou wrote:
Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>

Applied, thanks.

Regards
Greg



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_ */

--
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
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

Reply via email to