8 static inline void fb_pgprotect(struct file
*file
, struct vm_area_struct
*vma
,
12 vma
->vm_page_prot
= pgprot_noncached(vma
->vm_page_prot
);
16 static inline int fb_is_primary_device(struct fb_info
*info
)
18 struct device
*dev
= info
->device
;
19 struct device_node
*node
;
21 node
= dev
->archdata
.prom_node
;
23 node
== of_console_device
)
29 #endif /* _SPARC_FB_H_ */