OSDN Git Service

powerpc/rtas: Move type/struct definitions from rtas.h into rtas-types.h
authorLeonardo Bras <leobras.c@gmail.com>
Mon, 18 May 2020 23:42:44 +0000 (20:42 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jun 2020 10:59:08 +0000 (20:59 +1000)
commit783a015b747f606e803b798eb8b50c73c548691d
treebb476efd18312e1997f3d487502bc18f2642cfa4
parentaf2876b501e42c3fb5174cac9dd02598436f0fdf
powerpc/rtas: Move type/struct definitions from rtas.h into rtas-types.h

In order to get any rtas* struct into other headers, including rtas.h
may cause a lot of errors, regarding include dependency needed for
inline functions.

Create rtas-types.h and move there all type/struct definitions
from rtas.h, then include rtas-types.h into rtas.h.

Also, as suggested by checkpath.pl, replace uint8_t for u8.

Signed-off-by: Leonardo Bras <leobras.c@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200518234245.200672-2-leobras.c@gmail.com
arch/powerpc/include/asm/rtas-types.h [new file with mode: 0644]
arch/powerpc/include/asm/rtas.h