forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/aquantia/atlantic/aq_main.h
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * aQuantia Corporation Network Driver
34 * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms and conditions of the GNU General Public License,
7
- * version 2, as published by the Free Software Foundation.
85 */
96
107 /* File aq_main.h: Main file for aQuantia Linux driver. */
....@@ -13,7 +10,11 @@
1310 #define AQ_MAIN_H
1411
1512 #include "aq_common.h"
13
+#include "aq_nic.h"
1614
15
+void aq_ndev_schedule_work(struct work_struct *work);
1716 struct net_device *aq_ndev_alloc(void);
17
+int aq_ndev_open(struct net_device *ndev);
18
+int aq_ndev_close(struct net_device *ndev);
1819
1920 #endif /* AQ_MAIN_H */