Messages in this thread Patch in this message | | | From | Wambui Karuga <> | Subject | [PATCH 5/5] staging: octeon: remove typedef declaration for cvmx_fau_op_size_t | Date | Fri, 11 Oct 2019 09:02:42 +0300 |
| |
Remove addition of new typedef for enum cvmx_fau_op_size_t in drivers/staging/octeon/octeon-stubs.h. Issue found by checkpatch.pl
Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com> --- drivers/staging/octeon/octeon-stubs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h index 06e6a0223416..a0aa99e7b757 100644 --- a/drivers/staging/octeon/octeon-stubs.h +++ b/drivers/staging/octeon/octeon-stubs.h @@ -205,12 +205,12 @@ enum cvmx_fau_reg_32_t { CVMX_FAU_REG_32_START = 0, }; -typedef enum { +enum cvmx_fau_op_size_t { 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, -- 2.23.0
| |