commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=86ee617ecef576dd989f0698e0bdeb72a536c82a
branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/2012R1

It was lost in commit 0a73e5ef16fd8efcc4b95c09775cbcf2ce9658f1.

Signed-off-by: Bob Liu <[email protected]>
---
 include/net/dsa.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/net/dsa.h b/include/net/dsa.h
index 3faa44a..3d94849 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -202,4 +202,9 @@ static inline bool dsa_uses_trailer_tags(struct dsa_switch_tree *dst)
 	return !!(dst->tag_protocol == htons(ETH_P_TRAILER));
 }
 
+static inline bool dsa_uses_stpid_tags(struct dsa_switch_tree *dst)
+{
+	return !!(dst->tag_protocol == htons(ETH_P_STPID));
+}
+
 #endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to