]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e675c219a42244275e8a76f310cde3d6bc0bbdc
tree7053a2ad7bef68e758e0a9923ef632eccddcd61a
parent9e1f04cc0b1d81aaf2f150c574d1238ba04a11e8
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