]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: shmobile: emev2: Move declaration of emev2_smp_ops to emev2.h
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 28 Jan 2016 15:20:49 +0000 (16:20 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 19 Feb 2016 05:45:31 +0000 (14:45 +0900)
commit22f1fe5a98ab043642543488485b95162d6cafbd
tree192d0034b90055a71b0a03c4edc1be096fc5bd9a
parentadb4a2aee70e496115641bde24cd6c3778180fca
ARM: shmobile: emev2: Move declaration of emev2_smp_ops to emev2.h

make C=1:

    arch/arm/mach-shmobile/smp-emev2.c:51:29: warning: symbol 'emev2_smp_ops' was not declared. Should it be static?

To fix this, move the forward declaration of emev2_smp_ops to a header
file, and include it where appropriate.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/emev2.h [new file with mode: 0644]
arch/arm/mach-shmobile/setup-emev2.c
arch/arm/mach-shmobile/smp-emev2.c