powerpc/cpm1: Mark micropatch code/data static and __init
authorAnton Vorontsov <avorontsov@mvista.com>
Thu, 8 Jul 2010 17:16:16 +0000 (21:16 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Sun, 11 Jul 2010 16:04:06 +0000 (11:04 -0500)
commitaf71bcfeaaaad92147922282341d394093a4fc9b
tree21195287b429f52c270f6d19a54265e3c8a14c77
parent2069a6ae19a34d96cc9cb284eb645b165138e03f
powerpc/cpm1: Mark micropatch code/data static and __init

This saves runtime memory and fixes lots of sparse warnings like this:

    CHECK   arch/powerpc/sysdev/micropatch.c
  arch/powerpc/sysdev/micropatch.c:27:6: warning: symbol 'patch_2000'
  was not declared. Should it be static?
  arch/powerpc/sysdev/micropatch.c:146:6: warning: symbol 'patch_2f00'
  was not declared. Should it be static?
  ...

Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/cpm1.h
arch/powerpc/sysdev/micropatch.c