summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/nvm.h
diff options
context:
space:
mode:
authorKevin McKinney2012-12-01 07:15:55 +0100
committerGreg Kroah-Hartman2013-01-07 19:45:51 +0100
commit08391731e08d9e0d48664680e7b174e6f61d00e3 (patch)
treef1f4deb784a17546cd8f127ac9d81dce1d04e6b2 /drivers/staging/bcm/nvm.h
parentStaging: bcm: Remove typedef for _VENDOR_SECTION_INFO and call directly. (diff)
downloadkernel-qcow2-linux-08391731e08d9e0d48664680e7b174e6f61d00e3.tar.gz
kernel-qcow2-linux-08391731e08d9e0d48664680e7b174e6f61d00e3.tar.xz
kernel-qcow2-linux-08391731e08d9e0d48664680e7b174e6f61d00e3.zip
Staging: bcm: Remove typedef for _FLASH_2X_CS_INFO and call directly.
This patch removes typedef for _FLASH_2X_CS_INFO, and changes the name of the struct to bcm_flash2x_cs_info. In addition, any calls to typedefs FLASH2X_CS_INFO, or *PFLASH2X_CS_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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/nvm.h b/drivers/staging/bcm/nvm.h
index 728a63273528..e64a62087257 100644
--- a/drivers/staging/bcm/nvm.h
+++ b/drivers/staging/bcm/nvm.h
@@ -58,7 +58,7 @@ typedef struct _FLASH_CS_INFO {
#define FLASH2X_TOTAL_SIZE (64 * 1024 * 1024)
#define DEFAULT_SECTOR_SIZE (64 * 1024)
-typedef struct _FLASH_2X_CS_INFO {
+struct bcm_flash2x_cs_info {
/* magic number as 0xBECE-F1A5 - F1A5 for "flas-h" */
u32 MagicNumber;
u32 FlashLayoutVersion;
@@ -118,7 +118,7 @@ typedef struct _FLASH_2X_CS_INFO {
*/
u32 SectorAccessBitMap[FLASH2X_TOTAL_SIZE / (DEFAULT_SECTOR_SIZE * 16)];
/* All expansions to the control data structure should add here */
-} FLASH2X_CS_INFO, *PFLASH2X_CS_INFO;
+};
struct bcm_vendor_section_info {
u32 OffsetFromZeroForSectionStart;