]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/tau: Make some function static
authorMathieu Malaterre <malat@debian.org>
Thu, 22 Mar 2018 20:19:54 +0000 (21:19 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 25 May 2018 02:04:44 +0000 (12:04 +1000)
commitd5b9e3db702035319a2877ba3c068a3fdab6463e
treea91738212f4309d09869ca8dcdcb72651f4f1ea6
parenteacd1f6275e532c7069e114806baa07bfbdebc04
powerpc/tau: Make some function static

These functions can all be static, make it so. Fix warnings treated as
errors with W=1:

  arch/powerpc/kernel/tau_6xx.c:53:6: error: no previous prototype for ‘set_thresholds’ [-Werror=missing-prototypes]
  arch/powerpc/kernel/tau_6xx.c:73:6: error: no previous prototype for ‘TAUupdate’ [-Werror=missing-prototypes]
  arch/powerpc/kernel/tau_6xx.c:208:13: error: no previous prototype for ‘TAU_init_smp’ [-Werror=missing-prototypes]
  arch/powerpc/kernel/tau_6xx.c:220:12: error: no previous prototype for ‘TAU_init’ [-Werror=missing-prototypes]
  arch/powerpc/kernel/tau_6xx.c:126:6: error: no previous prototype for ‘TAUException’ [-Werror=missing-prototypes]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/tau_6xx.c