]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8187se: Convert buffer typedef into a struct
authorAna Rey <anarey@gmail.com>
Fri, 7 Mar 2014 08:23:54 +0000 (09:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Mar 2014 00:15:22 +0000 (16:15 -0800)
The Documentation/CodingStyle doesn't recommend the use of typedef,
convert this to structure.

Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/r8180.h

index 5ac46737157a76654cd34f4be21f99f5b4003c8b..b8f96709e82b9f1c19703b9ab192f78ccb05b062 100644 (file)
@@ -167,11 +167,11 @@ typedef union _ThreeWire {
 } ThreeWireReg;
 
 
-typedef struct buffer {
+struct buffer {
        struct buffer *next;
        u32 *buf;
        dma_addr_t dma;
-} buffer;
+};
 
 /* YJ,modified,080828. */
 struct stats {