forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h
....@@ -1,16 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (c) 2013-2014, 2016-2018 The Linux Foundation. All rights reserved.
23 *
3
- * This program is free software; you can redistribute it and/or modify
4
- * it under the terms of the GNU General Public License version 2 and
5
- * only version 2 as published by the Free Software Foundation.
6
- *
7
- * This program is distributed in the hope that it will be useful,
8
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
- * GNU General Public License for more details.
11
- *
124 * RMNET Data configuration engine
13
- *
145 */
156
167 #include <linux/skbuff.h>
....@@ -82,4 +73,6 @@
8273 struct netlink_ext_ack *extack);
8374 int rmnet_del_bridge(struct net_device *rmnet_dev,
8475 struct net_device *slave_dev);
76
+struct rmnet_port*
77
+rmnet_get_port_rtnl(const struct net_device *real_dev);
8578 #endif /* _RMNET_CONFIG_H_ */