Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ab19921 authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman
Browse files

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: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1f05da95
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;