ARM: shmobile: r8a7778: r8a7778_register_hspi() become static

r8a7778_register_hspi() used only from setup-r8a7778.c
it can be static

Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
This commit is contained in:
Kuninori Morimoto 2013-09-23 23:04:37 -07:00 • committed by Simon Horman
commit 117378e583

View file

@ -258,7 +258,7 @@ static struct resource hspi_resources[] __initdata = {
DEFINE_RES_IRQ(gic_iid(0x75)),
};
void __init r8a7778_register_hspi(int id)
static void __init r8a7778_register_hspi(int id)
{
BUG_ON(id < 0 || id > 2);