Staging: bcm: Remove typedef for _VENDOR_SECTION_INFO and call directly.
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 1 Dec 2012 06:15:54 +0000 (01:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:45:50 +0000 (10:45 -0800)
This patch removes typedef for _VENDOR_SECTION_INFO, and
changes the name of the struct to bcm_vendor_section_info.
In addition, any calls to typedefs VENDOR_SECTION_INFO, or
*PVENDOR_SECTION_INFO are changed to call the struct
directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/nvm.h

index 849ff00e0e4cd84b9e7b7a6cc9f2bbedfadb4b06..728a632735283a8c0adff89e0afb0e99b9335b4e 100644 (file)
@@ -120,15 +120,15 @@ typedef struct _FLASH_2X_CS_INFO {
        /* All expansions to the control data structure should add here */
 } FLASH2X_CS_INFO, *PFLASH2X_CS_INFO;
 
-typedef struct _VENDOR_SECTION_INFO {
+struct bcm_vendor_section_info {
        u32 OffsetFromZeroForSectionStart;
        u32 OffsetFromZeroForSectionEnd;
        u32 AccessFlags;
        u32 Reserved[16];
-} VENDOR_SECTION_INFO, *PVENDOR_SECTION_INFO;
+};
 
 struct bcm_flash2x_vendor_info {
-       VENDOR_SECTION_INFO VendorSection[TOTAL_SECTIONS];
+       struct bcm_vendor_section_info VendorSection[TOTAL_SECTIONS];
        u32 Reserved[16];
 };