dsa: mv88e6171: Fix tag_protocol check
authorGuenter Roeck <linux@roeck-us.net>
Tue, 14 Oct 2014 18:21:04 +0000 (11:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 20:23:27 +0000 (16:23 -0400)
commit77b3a4dcde4f770a0f3edbe16dd423b3d0717318
treef31e04315016d454cd197fa0ee7c440a32532a00
parent4d1bafbe485240ee19dcedad864c7c5bae07a7e1
dsa: mv88e6171: Fix tag_protocol check

tag_protocol is now an enum, so drivers have to check against it.

Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6171.c