summaryrefslogtreecommitdiffstats
path: root/include/net/ethoc.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-21 01:57:58 +0200
committerDavid S. Miller <davem@davemloft.net>2022-07-22 13:53:22 +0200
commit949d6b405e6160ae44baea39192d67b39cb7eeac (patch)
treeae84afaae8ee6a3d1ea2543b46655493fb1eca19 /include/net/ethoc.h
parentMerge branch 'sfc-E100-VF-respresenters' (diff)
downloadlinux-949d6b405e6160ae44baea39192d67b39cb7eeac.tar.xz
linux-949d6b405e6160ae44baea39192d67b39cb7eeac.zip
net: add missing includes and forward declarations under net/
This patch adds missing includes to headers under include/net. All these problems are currently masked by the existing users including the missing dependency before the broken header. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ethoc.h')
-rw-r--r--include/net/ethoc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/ethoc.h b/include/net/ethoc.h
index 78519ed42ab4..73810f3ca492 100644
--- a/include/net/ethoc.h
+++ b/include/net/ethoc.h
@@ -10,6 +10,9 @@
#ifndef LINUX_NET_ETHOC_H
#define LINUX_NET_ETHOC_H 1
+#include <linux/if.h>
+#include <linux/types.h>
+
struct ethoc_platform_data {
u8 hwaddr[IFHWADDRLEN];
s8 phy_id;