riscv: fix build warning of mm/pageattr

Add hearder for missing prototype. Also, static keyword should be at
beginning of declaration.

Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Zong Li 2020-07-16 14:15:27 +08:00 • committed by Palmer Dabbelt
commit 3843aca052
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889