summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/nvm.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-12-01 06:15:54 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 18:45:50 (GMT)
commitad2f522cc6ff6db7dc4b650353739247debc293d (patch)
treecc38892692ed013f81466519132c38dee71a03a4 /drivers/staging/bcm/nvm.h
parent2fe119fd351870b1b159d4e117f77369475f150a (diff)
downloadlinux-fsl-qoriq-ad2f522cc6ff6db7dc4b650353739247debc293d.tar.xz
Staging: bcm: Remove typedef for _VENDOR_SECTION_INFO and call directly.
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>
Diffstat (limited to 'drivers/staging/bcm/nvm.h')
-rw-r--r--drivers/staging/bcm/nvm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/nvm.h b/drivers/staging/bcm/nvm.h
index 849ff00..728a632 100644
--- a/drivers/staging/bcm/nvm.h
+++ b/drivers/staging/bcm/nvm.h
@@ -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];
};