Skip to content

Commit

Permalink
From patchwork series 380944
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox Snowpatch committed Nov 6, 2023
1 parent 1a2e9d8 commit 10522ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
return __pa(kaddr) >> PAGE_SHIFT;
}

static inline const void *pfn_to_kaddr(unsigned long pfn)
static inline void *pfn_to_kaddr(unsigned long pfn)
{
return __va(pfn << PAGE_SHIFT);
}
Expand Down

0 comments on commit 10522ef

Please sign in to comment.