summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/Ioctl.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-11-22 14:48:51 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-26 16:05:22 -0800
commitd532703c384c0df449c343ca3604f3650dad53b6 (patch)
tree8c3dba7e33120e7e6b81c11a1f5a72052f343ad2 /drivers/staging/bcm/Ioctl.h
parentff4e065de10f877af48e997c1ba5f1197ff90f4c (diff)
downloadlinux-stable-d532703c384c0df449c343ca3604f3650dad53b6.tar.gz
linux-stable-d532703c384c0df449c343ca3604f3650dad53b6.tar.bz2
linux-stable-d532703c384c0df449c343ca3604f3650dad53b6.zip
Staging: bcm: Remove typedef for stUserThreadReq and call directly.
This patch removes typedef for stUserThreadReq, and changes the name of the struct to bcm_user_thread_req. In addition, any calls to typedefs USER_THREAD_REQ, or *PUSER_THREAD_REQ 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 d25771275701..561588ea477e 100644
--- a/drivers/staging/bcm/Ioctl.h
+++ b/drivers/staging/bcm/Ioctl.h
@@ -24,11 +24,11 @@ typedef struct stGPIOInfo {
unsigned int uiGpioValue; /* 1 set ; 0 not set */
} __packed GPIO_INFO, *PGPIO_INFO;
-typedef struct stUserThreadReq {
+struct bcm_user_thread_req {
/* 0->Inactivate LED thread. */
/* 1->Activate the LED thread */
unsigned int ThreadState;
-} __packed USER_THREAD_REQ, *PUSER_THREAD_REQ;
+} __packed;
#define LED_THREAD_ACTIVATION_REQ 1
#define BCM_IOCTL 'k'