diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-12-01 06:15:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 18:45:51 (GMT) |
commit | 168b14009a135d669cb68fa9839cf3b796dd6382 (patch) | |
tree | 6613714f962856329b841a0aa06f4bb91c01576f /drivers/staging/bcm/nvm.h | |
parent | 08391731e08d9e0d48664680e7b174e6f61d00e3 (diff) | |
download | linux-fsl-qoriq-168b14009a135d669cb68fa9839cf3b796dd6382.tar.xz |
Staging: bcm: Remove typedef for _FLASH_CS_INFO and call directly.
This patch removes typedef for _FLASH_CS_INFO, and
changes the name of the struct to bcm_flash_cs_info.
In addition, any calls to typedefs FLASH_CS_INFO, or
*PFLASH_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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/nvm.h b/drivers/staging/bcm/nvm.h index e64a620..b262a11 100644 --- a/drivers/staging/bcm/nvm.h +++ b/drivers/staging/bcm/nvm.h @@ -26,7 +26,7 @@ typedef struct _FLASH_SECTOR_INFO { unsigned int uiSectorSize; } FLASH_SECTOR_INFO, *PFLASH_SECTOR_INFO; -typedef struct _FLASH_CS_INFO { +struct bcm_flash_cs_info { u32 MagicNumber; /* let the magic number be 0xBECE-F1A5 - F1A5 for "flas-h" */ u32 FlashLayoutVersion; @@ -53,7 +53,7 @@ typedef struct _FLASH_CS_INFO { u32 IsCDLessDeviceBootSig; /* MSC Timeout after reset to switch from MSC to NW Mode */ u32 MassStorageTimeout; -} FLASH_CS_INFO, *PFLASH_CS_INFO; +}; #define FLASH2X_TOTAL_SIZE (64 * 1024 * 1024) #define DEFAULT_SECTOR_SIZE (64 * 1024) |