1 /* SPDX-License-Identifier: GPL-2.0 */
7 static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
8 unsigned long vm_start, unsigned long vm_end,
11 return __phys_mem_access_prot(PHYS_PFN(offset), vm_end - vm_start, prot);
13 #define pgprot_framebuffer pgprot_framebuffer
15 #include <asm-generic/fb.h>
17 #endif /* _ASM_FB_H_ */