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: v5.10.7~3799^2~244 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=180245d2d01686f61b3d1909bdf349a6d153008b;p=platform%2Fkernel%2Flinux-rpi.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 9711bf3..b07f5e2 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,