summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/Ioctl.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-11-22 14:48:44 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-26 16:05:21 -0800
commitb1206c091b2dbe9fb7555eb6bc21694ff11b3579 (patch)
tree68d8c02264cc50e06c3effbe460c788569a719fa /drivers/staging/bcm/Ioctl.h
parent3b99b9d5538f0a32dea6e1d79a04233514920b61 (diff)
downloadlinux-b1206c091b2dbe9fb7555eb6bc21694ff11b3579.tar.bz2
Staging: bcm: Remove typedef for _FLASH2X_COPY_SECTION and call directly.
This patch removes typedef for _FLASH2X_COPY_SECTION, and changes the name of the struct to bcm_flash2x_copy_section. In addition, any calls to typedefs FLASH2X_COPY_SECTION, or *PFLASH2X_COPY_SECTION 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/Ioctl.h')
-rw-r--r--drivers/staging/bcm/Ioctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Ioctl.h b/drivers/staging/bcm/Ioctl.h
index eff1404fa2f2..a465d05f99eb 100644
--- a/drivers/staging/bcm/Ioctl.h
+++ b/drivers/staging/bcm/Ioctl.h
@@ -167,12 +167,12 @@ typedef struct _FLASH2X_READWRITE {
* if NOB !=0, only NOB will be copied from the given offset.
*/
-typedef struct _FLASH2X_COPY_SECTION {
+struct bcm_flash2x_copy_section {
FLASH2X_SECTION_VAL SrcSection;
FLASH2X_SECTION_VAL DstSection;
u32 offset;
u32 numOfBytes;
-} FLASH2X_COPY_SECTION, *PFLASH2X_COPY_SECTION;
+};
/*
* This section provide the complete bitmap of the Flash.