8 static inline void fb_pgprotect(struct file
*file
, struct vm_area_struct
*vma
,
11 vma
->vm_page_prot
= pgprot_noncached(vma
->vm_page_prot
);
14 static inline int fb_is_primary_device(struct fb_info
*info
)
16 struct device
*dev
= info
->device
;
17 struct device_node
*node
;
19 node
= dev
->archdata
.prom_node
;
21 node
== of_console_device
)
27 #endif /* _ASM_FB_H_ */