MIPS: SGI-IP27: Use union instead of typedef
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Thu, 9 Jan 2020 12:33:45 +0000 (13:33 +0100)
committerPaul Burton <paulburton@kernel.org>
Thu, 9 Jan 2020 23:29:58 +0000 (15:29 -0800)
commitdb96e058b4b3e349bd4a41f236bc27f1c9d545f0
treecf2de6d1b341dc7558ef89a8ce85478c43e65bb6
parentaa2d74f9b389986e379d665594936e6efd6fe085
MIPS: SGI-IP27: Use union instead of typedef

The upcoming header files for SGI-IP35 shouldn't add new typedef. To
be able to share ip27-hubio.c we need to access register layouts no
longer via a typedef.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/sgi-ip27/ip27-hubio.c