From: Ana Rey Date: Fri, 7 Mar 2014 08:23:54 +0000 (+0100) Subject: staging: rtl8187se: Convert buffer typedef into a struct X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=da37aabf1368e35c895027af9c9094855e57cbe4;p=deliverable%2Flinux.git staging: rtl8187se: Convert buffer typedef into a struct The Documentation/CodingStyle doesn't recommend the use of typedef, convert this to structure. Signed-off-by: Ana Rey Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8187se/r8180.h b/drivers/staging/rtl8187se/r8180.h index 5ac46737157a..b8f96709e82b 100644 --- a/drivers/staging/rtl8187se/r8180.h +++ b/drivers/staging/rtl8187se/r8180.h @@ -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 {