diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-12-22 14:27:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 10:56:54 -0800 |
commit | 1f05da951d41e69d0792922b2ca14342e1c220cd (patch) | |
tree | a2dab3ef3fd19730041715a155ee9c35c395ff11 /drivers/staging/bcm | |
parent | 5fa9ac457334a172255d9765b65b9340a085990a (diff) |
Staging: bcm: Remove typedef for _E_NWPKT_ETHFRAME_TYPE and call directly.
This patch removes typedef for _E_NWPKT_ETHFRAME_TYPE,
and changes the name of the enum to bcm_eth_frame_type.
In addition, any calls to enum "E_NWPKT_ETHFRAME_TYPE,
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')
-rw-r--r-- | drivers/staging/bcm/Protocol.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Protocol.h b/drivers/staging/bcm/Protocol.h index f6d8d6337ff0..494cdb1b5535 100644 --- a/drivers/staging/bcm/Protocol.h +++ b/drivers/staging/bcm/Protocol.h @@ -29,17 +29,17 @@ typedef enum _E_NWPKT_IPFRAME_TYPE { eIPv6Packet } E_NWPKT_IPFRAME_TYPE; -typedef enum _E_NWPKT_ETHFRAME_TYPE { +enum bcm_eth_frame_type { eEthUnsupportedFrame, eEth802LLCFrame, eEth802LLCSNAPFrame, eEth802QVLANFrame, eEthOtherFrame -} E_NWPKT_ETHFRAME_TYPE; +}; struct bcm_eth_packet_info { E_NWPKT_IPFRAME_TYPE eNwpktIPFrameType; - E_NWPKT_ETHFRAME_TYPE eNwpktEthFrameType; + enum bcm_eth_frame_type eNwpktEthFrameType; unsigned short usEtherType; unsigned char ucDSAP; }; |