diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2014-08-27 12:58:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-30 13:01:39 -0700 |
commit | 3f1d98eab69ba478ceb40f4e0400fcdab98ae380 (patch) | |
tree | e1bce84d608400679c5490cafb2630e6c60c1578 /drivers | |
parent | 50a9e6fe6dadc0fc4800beaf8f35042bc463eefc (diff) | |
download | linux-3f1d98eab69ba478ceb40f4e0400fcdab98ae380.tar.bz2 |
Staging: bcm: Bcmchar.c: Renamed variable: "SectOfset" -> "sect_offset"
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/bcm/Bcmchar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index faf19dd981c0..577067ca3402 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -2101,7 +2101,7 @@ static int bcm_char_ioctl_select_dsd(void __user *argp, { struct bcm_ioctl_buffer io_buff; INT status = STATUS_FAILURE; - UINT SectOfset = 0; + UINT sect_offset = 0; enum bcm_flash2x_section_val flash_2x_section_val; flash_2x_section_val = NO_SECTION_VAL; @@ -2141,8 +2141,8 @@ static int bcm_char_ioctl_select_dsd(void __user *argp, return STATUS_FAILURE; } - SectOfset = BcmGetSectionValStartOffset(ad, flash_2x_section_val); - if (SectOfset == INVALID_OFFSET) { + sect_offset = BcmGetSectionValStartOffset(ad, flash_2x_section_val); + if (sect_offset == INVALID_OFFSET) { BCM_DEBUG_PRINT(ad, DBG_TYPE_PRINTK, 0, 0, "Provided Section val <%d> does not exist in Flash 2.x", flash_2x_section_val); @@ -2150,7 +2150,7 @@ static int bcm_char_ioctl_select_dsd(void __user *argp, } ad->bAllDSDWriteAllow = TRUE; - ad->ulFlashCalStart = SectOfset; + ad->ulFlashCalStart = sect_offset; ad->eActiveDSD = flash_2x_section_val; return STATUS_SUCCESS; |