diff mbox series

[net-next,1/4] net: dsa: tag_8021q: include missing refcount.h

Message ID 20200907182910.1285496-2-olteanv@gmail.com
State Changes Requested
Delegated to: David Miller
Headers show
Series Some VLAN handling cleanup in DSA | expand

Commit Message

Vladimir Oltean Sept. 7, 2020, 6:29 p.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

The previous assumption was that the caller would already have this
header file included.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
 include/linux/dsa/8021q.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Florian Fainelli Sept. 8, 2020, 4:07 a.m. UTC | #1
On 9/7/2020 11:29 AM, Vladimir Oltean wrote:
> From: Vladimir Oltean <vladimir.oltean@nxp.com>
> 
> 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>
diff mbox series

Patch

diff --git a/include/linux/dsa/8021q.h b/include/linux/dsa/8021q.h
index 311aa04e7520..804750122c66 100644
--- a/include/linux/dsa/8021q.h
+++ b/include/linux/dsa/8021q.h
@@ -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;