summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/Macros.h
diff options
context:
space:
mode:
authorKevin McKinney2012-12-21 21:10:38 +0100
committerGreg Kroah-Hartman2013-01-07 19:56:43 +0100
commita23e67f1a26bef151595cd3373d489683cf1fe80 (patch)
treef2dfcc978ef169940aff03fd6c2e7727df93cc44 /drivers/staging/bcm/Macros.h
parentStaging: bcm: Remove typedef for _E_PHS_DSC_ACTION and call directly. (diff)
downloadkernel-qcow2-linux-a23e67f1a26bef151595cd3373d489683cf1fe80.tar.gz
kernel-qcow2-linux-a23e67f1a26bef151595cd3373d489683cf1fe80.tar.xz
kernel-qcow2-linux-a23e67f1a26bef151595cd3373d489683cf1fe80.zip
Staging: bcm: Remove typedef for _LINK_STATE and call directly.
This patch removes typedef for _LINK_STATE, and changes the name of the struct to bcm_link_state. In addition, any calls to struct "LINK_STATE, or PLINK_STATE" are changed to call directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/Macros.h')
-rw-r--r--drivers/staging/bcm/Macros.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/bcm/Macros.h b/drivers/staging/bcm/Macros.h
index 224a15650053..1fae5d9b9d2a 100644
--- a/drivers/staging/bcm/Macros.h
+++ b/drivers/staging/bcm/Macros.h
@@ -162,13 +162,11 @@
#define GPIO_MODE_REGISTER 0x0F000034
#define GPIO_PIN_STATE_REGISTER 0x0F000038
-
-typedef struct _LINK_STATE {
+struct bcm_link_state {
UCHAR ucLinkStatus;
UCHAR bIdleMode;
UCHAR bShutdownMode;
-} LINK_STATE, *PLINK_STATE;
-
+};
enum enLinkStatus {
WAIT_FOR_SYNC = 1,