From: Wambui Karuga Date: Sat, 12 Oct 2019 18:04:35 +0000 (+0300) Subject: staging: octeon: remove typedef declaration for cvmx_fau_op_size X-Git-Tag: Ubuntu-5.13.0-19.19~7228^2~244 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=180245d2d01686f61b3d1909bdf349a6d153008b;p=mirror_ubuntu-jammy-kernel.git staging: octeon: remove typedef declaration for cvmx_fau_op_size Remove addition of new typedef for enum cvmx_fau_op_size. Issue found by checkpatch.pl Signed-off-by: Wambui Karuga Acked-by: Julia Lawall Link: https://lore.kernel.org/r/0130bbbffd4c3c9e0e2ab0fc02cb7fa704ee410c.1570821661.git.wambui.karugax@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h index 9711bf379710..b07f5e24acbc 100644 --- a/drivers/staging/octeon/octeon-stubs.h +++ b/drivers/staging/octeon/octeon-stubs.h @@ -205,12 +205,12 @@ enum cvmx_fau_reg_32 { CVMX_FAU_REG_32_START = 0, }; -typedef enum { +enum cvmx_fau_op_size { CVMX_FAU_OP_SIZE_8 = 0, CVMX_FAU_OP_SIZE_16 = 1, CVMX_FAU_OP_SIZE_32 = 2, CVMX_FAU_OP_SIZE_64 = 3 -} cvmx_fau_op_size_t; +}; typedef enum { CVMX_SPI_MODE_UNKNOWN = 0,