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>
This commit is contained in:
Andrew Lunn 2015-08-17 23:52:51 +02:00 • committed by David S. Miller
commit 60045cbfc0
2 changed files with 7 additions and 3 deletions