printf: Remove unused 'bprintf'
[drm/drm-misc.git] / arch / powerpc / include / asm / video.h
blobe1770114ffc3646db8cf8674d350367411846228
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_VIDEO_H_
3 #define _ASM_VIDEO_H_
5 #include <asm/page.h>
7 static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
8 unsigned long vm_start, unsigned long vm_end,
9 unsigned long offset)
11 return __phys_mem_access_prot(PHYS_PFN(offset), vm_end - vm_start, prot);
13 #define pgprot_framebuffer pgprot_framebuffer
15 #include <asm-generic/video.h>
17 #endif /* _ASM_VIDEO_H_ */