diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-07-20 16:57:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-22 12:53:22 +0100 |
commit | 949d6b405e6160ae44baea39192d67b39cb7eeac (patch) | |
tree | ae84afaae8ee6a3d1ea2543b46655493fb1eca19 /include/net/ethoc.h | |
parent | 735dbc69ab719f5e3c84f7c669b5b3ad05f684bb (diff) |
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.h | 3 |
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; |