3 #include <linux/console.h>
9 static inline void fb_pgprotect(struct file
*file
, struct vm_area_struct
*vma
,
13 vma
->vm_page_prot
= pgprot_noncached(vma
->vm_page_prot
);
17 static inline int fb_is_primary_device(struct fb_info
*info
)
19 struct device
*dev
= info
->device
;
20 struct device_node
*node
;
22 if (console_set_on_cmdline
)
27 node
== of_console_device
)
33 #endif /* _SPARC_FB_H_ */