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