]> err.no Git - linux-2.6/commit
[MIPS] Add missing prototypes to asm/page.h
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Tue, 15 Jul 2008 16:57:32 +0000 (19:57 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 20 Jul 2008 13:38:17 +0000 (14:38 +0100)
commitc29d150305f7f655b7002cc31754c605e5c0d1a0
tree6ab9057ad33be5f15b4e6d282cb808edbb2f695c
parentf028b8605613ade67fda554e30d367911d6c7222
[MIPS] Add missing prototypes to asm/page.h

This patch fixes the following sparse warnings:

>>>>>>>>>>>>>>>>>>
arch/mips/mm/page.c:284:16: warning: symbol
'build_clear_page' was not declared. Should it be static?

arch/mips/mm/page.c:426:16: warning: symbol 'build_copy_page'
was not declared. Should it be static?
>>>>>>>>>>>>>>>>>>

The fix is to add appropriate prototypes to the header
include/asm-mips/page.h.

Build-tested against Malta defconfig.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/page.h