diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-12-22 14:27:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 10:56:54 -0800 |
commit | 8ab19921143e69797343e972b16378171f37385a (patch) | |
tree | 7426f1bd6d52aba5dea3be7244c11590b999faaf /drivers/staging/bcm | |
parent | 1f05da951d41e69d0792922b2ca14342e1c220cd (diff) | |
download | op-kernel-dev-8ab19921143e69797343e972b16378171f37385a.zip op-kernel-dev-8ab19921143e69797343e972b16378171f37385a.tar.gz |
Staging: bcm: Remove typedef for _E_NWPKT_IPFRAME_TYPE and call directly.
This patch removes typedef for _E_NWPKT_IPFRAME_TYPE,
and changes the name of the enum to bcm_ip_frame_type.
In addition, any calls to enum "E_NWPKT_IPFRAME_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 494cdb1..adfa48d 100644 --- a/drivers/staging/bcm/Protocol.h +++ b/drivers/staging/bcm/Protocol.h @@ -23,11 +23,11 @@ struct TransportHeaderT { } __packed; typedef struct TransportHeaderT xporthdr; -typedef enum _E_NWPKT_IPFRAME_TYPE { +enum bcm_ip_frame_type { eNonIPPacket, eIPv4Packet, eIPv6Packet -} E_NWPKT_IPFRAME_TYPE; +}; enum bcm_eth_frame_type { eEthUnsupportedFrame, @@ -38,7 +38,7 @@ enum bcm_eth_frame_type { }; struct bcm_eth_packet_info { - E_NWPKT_IPFRAME_TYPE eNwpktIPFrameType; + enum bcm_ip_frame_type eNwpktIPFrameType; enum bcm_eth_frame_type eNwpktEthFrameType; unsigned short usEtherType; unsigned char ucDSAP; |