| 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 | #ifdef CONFIG_VIDEO |
| 17 | bool video_is_primary_device(struct device *dev); |
| 18 | #define video_is_primary_device video_is_primary_device |
| 19 | #endif |
| 20 | |
| 21 | #include <asm-generic/video.h> |
| 22 | |
| 23 | #endif /* _ASM_X86_VIDEO_H */ |
| 24 | |