net: dsa: Add dsa_is_dsa_port() helper
authorAndrew Lunn <andrew@lunn.ch>
Mon, 17 Aug 2015 21:52:51 +0000 (23:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 21:17:21 +0000 (14:17 -0700)
commit60045cbfc0b291dae8dd5b929d67b87c5ea954d4
tree7053a2ad7bef68e758e0a9923ef632eccddcd61a
parent1e72e6f8859a598bfc22cf268c2dafe8ddb9f1b4
net: dsa: Add dsa_is_dsa_port() helper

Add an inline helper for determining is a port is a DSA port.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c
include/net/dsa.h