We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f92a84 commit deebe5fCopy full SHA for deebe5f
arch/powerpc/include/asm/fb.h
@@ -8,12 +8,7 @@ static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
8
unsigned long vm_start, unsigned long vm_end,
9
unsigned long offset)
10
{
11
- /*
12
- * PowerPC's implementation of phys_mem_access_prot() does
13
- * not use the file argument. Set it to NULL in preparation
14
- * of later updates to the interface.
15
- */
16
- return phys_mem_access_prot(NULL, PHYS_PFN(offset), vm_end - vm_start, prot);
+ return __phys_mem_access_prot(PHYS_PFN(offset), vm_end - vm_start, prot);
17
}
18
#define pgprot_framebuffer pgprot_framebuffer
19
0 commit comments