1 /* SPDX-License-Identifier: GPL-2.0 */
4 #include <linux/console.h>
10 static inline void fb_pgprotect(struct file
*file
, struct vm_area_struct
*vma
,
14 vma
->vm_page_prot
= pgprot_noncached(vma
->vm_page_prot
);
18 static inline int fb_is_primary_device(struct fb_info
*info
)
20 struct device
*dev
= info
->device
;
21 struct device_node
*node
;
23 if (console_set_on_cmdline
)
28 node
== of_console_device
)
34 #endif /* _SPARC_FB_H_ */