diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-11-22 14:48:50 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 16:05:22 -0800 |
commit | ff4e065de10f877af48e997c1ba5f1197ff90f4c (patch) | |
tree | f4aebe036c27a615dcda2da24c1abd6c2155240c /drivers/staging/bcm/Ioctl.h | |
parent | 0becebb1f845ec30e017b55f32f89e1de7bf5651 (diff) |
Staging: bcm: Remove typedef for _FLASH2X_SECTION_VAL and reference directly.
This patch removes typedef for _FLASH2X_SECTION_VAL,
and changes the name of the enum to bcm_flash2x_section_val.
In addition, any calls to typedefs FLASH2X_SECTION_VAL
are changed to reference the enum directly.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/Ioctl.h')
-rw-r--r-- | drivers/staging/bcm/Ioctl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/bcm/Ioctl.h b/drivers/staging/bcm/Ioctl.h index f9db28acf351..d25771275701 100644 --- a/drivers/staging/bcm/Ioctl.h +++ b/drivers/staging/bcm/Ioctl.h @@ -129,7 +129,7 @@ struct bcm_bulk_wrm_buffer { unsigned long Values[1]; }; -typedef enum _FLASH2X_SECTION_VAL { +enum bcm_flash2x_section_val { NO_SECTION_VAL = 0, /* no section is chosen when absolute offset is given for RD/WR */ ISO_IMAGE1, ISO_IMAGE2, @@ -146,13 +146,13 @@ typedef enum _FLASH2X_SECTION_VAL { ISO_IMAGE2_PART2, ISO_IMAGE2_PART3, TOTAL_SECTIONS -} FLASH2X_SECTION_VAL; +}; /* * Structure used for READ/WRITE Flash Map2.x */ struct bcm_flash2x_readwrite { - FLASH2X_SECTION_VAL Section; /* which section has to be read/written */ + enum bcm_flash2x_section_val Section; /* which section has to be read/written */ u32 offset; /* Offset within Section. */ u32 numOfBytes; /* NOB from the offset */ u32 bVerify; @@ -167,8 +167,8 @@ struct bcm_flash2x_readwrite { */ struct bcm_flash2x_copy_section { - FLASH2X_SECTION_VAL SrcSection; - FLASH2X_SECTION_VAL DstSection; + enum bcm_flash2x_section_val SrcSection; + enum bcm_flash2x_section_val DstSection; u32 offset; u32 numOfBytes; }; |