]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-alpha/fb.h
sg: fix odd style (extra parenthesis) introduced by cmd filter patch
[linux-2.6-omap-h63xx.git] / include / asm-alpha / fb.h
index ca714a4e355738b1956832c8944d52bd297d1fee..fa9bbb96b2b3d49f6a16ae41dddf95c5add8cb66 100644 (file)
@@ -1,7 +1,13 @@
 #ifndef _ASM_FB_H_
 #define _ASM_FB_H_
+#include <linux/device.h>
 
 /* Caching is off in the I/O space quadrant by design.  */
 #define fb_pgprotect(...) do {} while (0)
 
+static inline int fb_is_primary_device(struct fb_info *info)
+{
+       return 0;
+}
+
 #endif /* _ASM_FB_H_ */