]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/silicom/bypasslib/bp_ioctl.h Fix do not add new typedefs.
authorAybuke Ozdemir <aybuke.147@gmail.com>
Sun, 16 Mar 2014 15:32:28 +0000 (17:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Mar 2014 18:55:31 +0000 (11:55 -0700)
Fix checkpatch.pl issues with do not add
new typedefs in bp_ioctl.h

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bypasslib/bp_ioctl.h

index a0fb79fd1909c0b34d768744c88b2adfab15f559..bf47f786866bac09fd81a0cc6718282ce56403b2 100644 (file)
@@ -53,7 +53,7 @@
 #define WD_MIN_TIME_GET(desc)   (desc & 0xf)
 #define WD_STEP_COUNT_GET(desc) ((desc>>5) & 0xf)
 
-typedef enum {
+enum {
        IS_BYPASS = 1,
        GET_BYPASS_SLAVE,
        GET_BYPASS_CAPS,
@@ -103,7 +103,7 @@ typedef enum {
        SET_BP_HW_RESET,
 } CMND_TYPE;
 
-typedef enum {
+enum {
        IF_SCAN_SD,
        GET_DEV_NUM_SD,
        IS_BYPASS_SD,