Skip to content

Commit

Permalink
Staging: bcm: Remove typedef for _E_NWPKT_IPFRAME_TYPE and call direc…
Browse files Browse the repository at this point in the history
…tly.

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>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 1f05da9 commit 8ab1992
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/bcm/Protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;
Expand Down

0 comments on commit 8ab1992

Please sign in to comment.