net: dsa: tag_8021q: include missing refcount.h
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 10 Sep 2020 16:48:54 +0000 (19:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Sep 2020 00:30:43 +0000 (17:30 -0700)
The previous assumption was that the caller would already have this
header file included.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dsa/8021q.h

index 311aa04..8047501 100644 (file)
@@ -5,6 +5,7 @@
 #ifndef _NET_DSA_8021Q_H
 #define _NET_DSA_8021Q_H
 
+#include <linux/refcount.h>
 #include <linux/types.h>
 
 struct dsa_switch;