diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-11-22 23:48:53 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-27 04:05:23 +0400 |
commit | 86d289d2570bfa469b756e95bf54cb694d12eeb5 (patch) | |
tree | f056cdc5880b5eaad88381297b52cca0258901c1 /drivers/staging/bcm/Ioctl.h | |
parent | bac02ed8a74f09848f81ffa2d53c36a6256ebbf9 (diff) | |
download | linux-86d289d2570bfa469b756e95bf54cb694d12eeb5.tar.xz |
Staging: bcm: Remove typedef for stGPIOInfo and call directly.
This patch removes typedef for stGPIOInfo, and
changes the name of the struct to bcm_gpio_info.
In addition, any calls to typedefs GPIO_INFO, or
*PGPIO_INFO 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 ddaf789dc273..440bff5df6ad 100644 --- a/drivers/staging/bcm/Ioctl.h +++ b/drivers/staging/bcm/Ioctl.h @@ -19,10 +19,10 @@ struct bcm_ioctl_buffer { unsigned long OutputLength; } __packed; -typedef struct stGPIOInfo { +struct bcm_gpio_info { unsigned int uiGpioNumber; /* valid numbers 0-15 */ unsigned int uiGpioValue; /* 1 set ; 0 not set */ -} __packed GPIO_INFO, *PGPIO_INFO; +} __packed; struct bcm_user_thread_req { /* 0->Inactivate LED thread. */ |