]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Staging: bcm: Remove typedef for _E_NWPKT_ETHFRAME_TYPE and call directly.
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 22 Dec 2012 19:27:54 +0000 (14:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:56:54 +0000 (10:56 -0800)
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>
drivers/staging/bcm/Protocol.h

index f6d8d6337ff062faba75c8ea402c5b47497ea11a..494cdb1b553546e72daa01da951c6c753b26fe66 100644 (file)
@@ -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;
 };