staging: octeon: remove typedef declaration for cvmx_fau_op_size
authorWambui Karuga <wambui.karugax@gmail.com>
Sat, 12 Oct 2019 18:04:35 +0000 (21:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Oct 2019 13:36:54 +0000 (15:36 +0200)
Remove addition of new typedef for enum cvmx_fau_op_size.
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/0130bbbffd4c3c9e0e2ab0fc02cb7fa704ee410c.1570821661.git.wambui.karugax@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/octeon-stubs.h

index 9711bf3..b07f5e2 100644 (file)
@@ -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,