diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-11-22 14:48:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 16:05:23 -0800 |
commit | a2521d79715680386f3dbefbc2ffc93fdf08b58a (patch) | |
tree | ae8d8a46fb5eb7fc99a669de05a20f341ecd681f /drivers/staging/bcm/Ioctl.h | |
parent | 86d289d2570bfa469b756e95bf54cb694d12eeb5 (diff) | |
download | linux-a2521d79715680386f3dbefbc2ffc93fdf08b58a.tar.bz2 |
Staging: bcm: Remove typedef for wrmbuffer and call directly.
This patch removes typedef for wrmbuffer, and
changes the name of the struct to bcm_wrm_buffer.
In addition, any calls to typedefs WRM_BUFFER, or
*PWRM_BUFFER 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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Ioctl.h b/drivers/staging/bcm/Ioctl.h index 440bff5df6ad..5910ba509ace 100644 --- a/drivers/staging/bcm/Ioctl.h +++ b/drivers/staging/bcm/Ioctl.h @@ -6,11 +6,11 @@ typedef struct rdmbuffer { unsigned long Length; } __packed RDM_BUFFER, *PRDM_BUFFER; -typedef struct wrmbuffer { +struct bcm_wrm_buffer { unsigned long Register; unsigned long Length; unsigned char Data[4]; -} __packed WRM_BUFFER, *PWRM_BUFFER; +} __packed; struct bcm_ioctl_buffer { void __user *InputBuffer; |