xref: /linux/arch/x86/include/asm/video.h (revision 36ec807b627b4c0a0a382f0ae48eac7187d14b2b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_VIDEO_H
3 #define _ASM_X86_VIDEO_H
4 
5 #include <linux/types.h>
6 
7 #include <asm/page.h>
8 
9 struct device;
10 
11 pgprot_t pgprot_framebuffer(pgprot_t prot,
12 			    unsigned long vm_start, unsigned long vm_end,
13 			    unsigned long offset);
14 #define pgprot_framebuffer pgprot_framebuffer
15 
16 bool video_is_primary_device(struct device *dev);
17 #define video_is_primary_device video_is_primary_device
18 
19 #include <asm-generic/video.h>
20 
21 #endif /* _ASM_X86_VIDEO_H */
22