summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/Protocol.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-12-22 14:27:52 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 10:56:54 -0800
commitd1b37925baf99a39a838c1832a6e8765a8af0ed7 (patch)
treef85cf2a89269cf7be961021742c251486ab3f1b1 /drivers/staging/bcm/Protocol.h
parent620fac923c8a1aa53f6fd1e1e332c53415b56df8 (diff)
downloadlinux-d1b37925baf99a39a838c1832a6e8765a8af0ed7.tar.bz2
Staging: bcm: Remove typedef for _ETH_CS_802_Q_FRAME and call directly.
This patch removes typedef for _ETH_CS_802_Q_FRAME, and changes the name of the struct to bcm_eth_q_frame. In addition, any calls to struct "ETH_CS_802_Q_FRAME" 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/Protocol.h')
-rw-r--r--drivers/staging/bcm/Protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Protocol.h b/drivers/staging/bcm/Protocol.h
index 842539d897bd..7f66065b45ba 100644
--- a/drivers/staging/bcm/Protocol.h
+++ b/drivers/staging/bcm/Protocol.h
@@ -44,13 +44,13 @@ typedef struct _S_ETHCS_PKT_INFO {
unsigned char ucDSAP;
} S_ETHCS_PKT_INFO, *PS_ETHCS_PKT_INFO;
-typedef struct _ETH_CS_802_Q_FRAME {
+struct bcm_eth_q_frame {
struct bcm_eth_header EThHdr;
unsigned short UserPriority:3;
unsigned short CFI:1;
unsigned short VLANID:12;
unsigned short EthType;
-} __packed ETH_CS_802_Q_FRAME;
+} __packed;
struct bcm_eth_llc_frame {
struct bcm_eth_header EThHdr;