staging: octeon: remove typedef declaration for cvmx_helper_link_info
authorWambui Karuga <wambui.karugax@gmail.com>
Sat, 12 Oct 2019 18:04:32 +0000 (21:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Oct 2019 13:36:52 +0000 (15:36 +0200)
commit73aef0c9d2c6f746e8c84775b73ef374b7a2a4dc
tree2f626d7b9157125da6fed2f0d511dc3a2e7d7002
parentef1fe6b7369a822d86a2fb8a688c721ae7f4eed3
staging: octeon: remove typedef declaration for cvmx_helper_link_info

Remove declaration of union cvmx_helper_link_info as typedef.
Also replace its previous uses with new union declaration.
Issue found by checkpatch.pl

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Link: https://lore.kernel.org/r/fb373aed8fd2b04d01198f5a5769fd2476714e88.1570821661.git.wambui.karugax@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-mdio.c
drivers/staging/octeon/ethernet-rgmii.c
drivers/staging/octeon/ethernet.c
drivers/staging/octeon/octeon-ethernet.h
drivers/staging/octeon/octeon-stubs.h