[uClinux-dev] [PATCH] nios2: new fb.h for framebuffer device
Thomas Chou
thomas at wytron.com.tw
Tue Nov 20 22:03:23 EST 2007
Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
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
More information about the uClinux-dev
mailing list