summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/nvm.c
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-11-22 14:48:42 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-26 16:05:14 -0800
commitd48a430c2ce42d0a2e214bb6ac93a9e5ab9393c4 (patch)
tree16c5d7ac9ec2911b6861e7bde762568870695667 /drivers/staging/bcm/nvm.c
parent0395a61d9151b18866210f070681fd6af362f1a5 (diff)
downloadlinux-3.10-d48a430c2ce42d0a2e214bb6ac93a9e5ab9393c4.tar.gz
linux-3.10-d48a430c2ce42d0a2e214bb6ac93a9e5ab9393c4.tar.bz2
linux-3.10-d48a430c2ce42d0a2e214bb6ac93a9e5ab9393c4.zip
Staging: bcm: Remove typedef for _FLASH2X_BITMAP and call directly.
This patch removes typedef for _FLASH2X_BITMAP, and changes the name of the struct to bcm_flash2x_bitmap. In addition, any calls to typedefs FLASH2X_BITMAP, or *PFLASH2X_BITMAP 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.c')
-rw-r--r--drivers/staging/bcm/nvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/nvm.c b/drivers/staging/bcm/nvm.c
index b034eb5fa6b..7f874db1197 100644
--- a/drivers/staging/bcm/nvm.c
+++ b/drivers/staging/bcm/nvm.c
@@ -3064,7 +3064,7 @@ B_UINT8 IsOffsetWritable(struct bcm_mini_adapter *Adapter, unsigned int uiOffset
return FALSE;
}
-static int BcmDumpFlash2xSectionBitMap(PFLASH2X_BITMAP psFlash2xBitMap)
+static int BcmDumpFlash2xSectionBitMap(struct bcm_flash2x_bitmap *psFlash2xBitMap)
{
struct bcm_mini_adapter *Adapter = GET_BCM_ADAPTER(gblpnetdev);
@@ -3099,7 +3099,7 @@ static int BcmDumpFlash2xSectionBitMap(PFLASH2X_BITMAP psFlash2xBitMap)
* Failure:- negative error code
*/
-int BcmGetFlash2xSectionalBitMap(struct bcm_mini_adapter *Adapter, PFLASH2X_BITMAP psFlash2xBitMap)
+int BcmGetFlash2xSectionalBitMap(struct bcm_mini_adapter *Adapter, struct bcm_flash2x_bitmap *psFlash2xBitMap)
{
PFLASH2X_CS_INFO psFlash2xCSInfo = Adapter->psFlash2xCSInfo;
FLASH2X_SECTION_VAL uiHighestPriDSD = 0;