OSDN Git Service

powerpc/powernv: Include asm/powernv.h from the local powernv.h
authorOliver O'Halloran <oohall@gmail.com>
Tue, 4 Aug 2020 00:54:06 +0000 (10:54 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Aug 2020 15:31:33 +0000 (01:31 +1000)
commit8471c1dd93de9a2278d41c527b76291e4ace8f1c
treecd9a2ad70da1854b3b64dfb99ede944ddeb2b8a5
parentf6bac19cf65c5be21d14a0c9684c8f560f2096dd
powerpc/powernv: Include asm/powernv.h from the local powernv.h

The asm/powernv.h header provides prototypes for functions which need to be
called by non-powernv platform code. Also include it in the powernv.h
that's local to the platform directory to squash some warnings about
non-static functions missing prototypes.

Also include powernv.h since from opal-memcons.c since it has the
prototypes for the memcons wrangling functions which are used for the opal
and ultravisor msglog.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200804005410.146094-3-oohall@gmail.com
arch/powerpc/platforms/powernv/opal-msglog.c
arch/powerpc/platforms/powernv/powernv.h