summaryrefslogtreecommitdiff
path: root/arch/mips/cavium-octeon
diff options
context:
space:
mode:
authorChris Packham <chris.packham@alliedtelesis.co.nz>2020-02-05 13:11:13 +1300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-12 13:50:32 -0800
commitf9546de43df2b1f9606e9baa9f3f0399c4d1ca0b (patch)
tree690107d1d68629770ba1f075f22273bb2a2cec24 /arch/mips/cavium-octeon
parent422d97b8b05ed38cc5f67522ddb821868ea272a7 (diff)
downloadlinux-rpi-f9546de43df2b1f9606e9baa9f3f0399c4d1ca0b.tar.gz
linux-rpi-f9546de43df2b1f9606e9baa9f3f0399c4d1ca0b.tar.bz2
linux-rpi-f9546de43df2b1f9606e9baa9f3f0399c4d1ca0b.zip
MIPS: octeon: remove typedef declaration for cvmx_wqe
Remove typedef declaration from struct cvmx_wqe and replace its previous uses with new struct declaration. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Link: https://lore.kernel.org/r/20200205001116.14096-4-chris.packham@alliedtelesis.co.nz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/cavium-octeon')
-rw-r--r--arch/mips/cavium-octeon/executive/cvmx-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper.c b/arch/mips/cavium-octeon/executive/cvmx-helper.c
index de391541d6f7..bb84ae33399a 100644
--- a/arch/mips/cavium-octeon/executive/cvmx-helper.c
+++ b/arch/mips/cavium-octeon/executive/cvmx-helper.c
@@ -784,7 +784,7 @@ static int __cvmx_helper_errata_fix_ipd_ptr_alignment(void)
uint64_t *p64;
cvmx_pko_command_word0_t pko_command;
union cvmx_buf_ptr g_buffer, pkt_buffer;
- cvmx_wqe_t *work;
+ struct cvmx_wqe *work;
int size, num_segs = 0, wqe_pcnt, pkt_pcnt;
union cvmx_gmxx_prtx_cfg gmx_cfg;
int retry_cnt;