i386: move mm
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-sparc / fb.h
blobc73ca081e1f56721c6f3912dd60730b1de6ecc2b
1 #ifndef _ASM_FB_H_
2 #define _ASM_FB_H_
3 #include <linux/fb.h>
4 #include <asm/prom.h>
6 #define fb_pgprotect(...) do {} while (0)
8 static inline int fb_is_primary_device(struct fb_info *info)
10 struct device *dev = info->device;
11 struct device_node *node;
13 node = dev->archdata.prom_node;
14 if (node &&
15 node == of_console_device)
16 return 1;
18 return 0;
21 #endif /* _ASM_FB_H_ */