summaryrefslogtreecommitdiff
path: root/src/class/net
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-05-27 19:44:10 +0700
committerGitHub <[email protected]>2021-05-27 19:44:10 +0700
commit81d238bd463c694af6ef31015107c0727805c7c7 (patch)
tree3fe4e811be63d83f8c47cc49ca6f048bd5904f4a /src/class/net
parent4e2684f23aacfd9a08046c2a60da50bd1af09a27 (diff)
parent7c66c5121b862443aacf7eadbef45153a3fa3060 (diff)
Merge pull request #854 from hathach/more-housekeeping
More housekeeping
Diffstat (limited to 'src/class/net')
-rw-r--r--src/class/net/net_device.c4
-rw-r--r--src/class/net/net_device.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/class/net/net_device.c b/src/class/net/net_device.c
index ce1131223..9d9719ce4 100644
--- a/src/class/net/net_device.c
+++ b/src/class/net/net_device.c
@@ -29,8 +29,10 @@
#if ( TUSB_OPT_DEVICE_ENABLED && CFG_TUD_NET )
-#include "net_device.h"
+#include "device/usbd.h"
#include "device/usbd_pvt.h"
+
+#include "net_device.h"
#include "rndis_protocol.h"
void rndis_class_set_handler(uint8_t *data, int size); /* found in ./misc/networking/rndis_reports.c */
diff --git a/src/class/net/net_device.h b/src/class/net/net_device.h
index 38c47d647..f030f3077 100644
--- a/src/class/net/net_device.h
+++ b/src/class/net/net_device.h
@@ -28,8 +28,6 @@
#ifndef _TUSB_NET_DEVICE_H_
#define _TUSB_NET_DEVICE_H_
-#include "common/tusb_common.h"
-#include "device/usbd.h"
#include "class/cdc/cdc.h"
/* declared here, NOT in usb_descriptors.c, so that the driver can intelligently ZLP as needed */