[PATCH 8/9] Staging: bcm: Remove typedef, and change struct name from USER_BCM_DBG_STATE to bcm_user_debug_state.

Kevin McKinney klmckinney1 at gmail.com
Fri Dec 28 04:18:26 UTC 2012


This patch changes the name of the struct from "USER_
BCM_DBG_STATE" to bcm_user_debug_state, and removes
the typedef.

Signed-off-by: Kevin McKinney <klmckinney1 at gmail.com>
---
 drivers/staging/bcm/Debug.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/bcm/Debug.h b/drivers/staging/bcm/Debug.h
index e81db0d..03be63f 100644
--- a/drivers/staging/bcm/Debug.h
+++ b/drivers/staging/bcm/Debug.h
@@ -171,11 +171,11 @@
  * Delibrately matches that of the Windows driver..
  * The TestApp's ioctl passes this struct to us.
  */
-typedef struct {
+struct bcm_user_debug_state {
 	unsigned int Subtype, Type;
 	unsigned int OnOff;
 /*	unsigned int debug_level; future expansion */
-} __packed USER_BCM_DBG_STATE;
+} __packed;
 
 /* ---Kernel-space mapping of Debug State */
 struct bcm_debug_state {
-- 
1.7.9.5




More information about the devel mailing list