hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/drivers/net/dsa/mv88e6xxx/ptp.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Marvell 88E6xxx Switch PTP support
34 *
....@@ -7,11 +8,6 @@
78 * Erik Hons <erik.hons@ni.com>
89 * Brandon Streiff <brandon.streiff@ni.com>
910 * Dane Wagner <dane.wagner@ni.com>
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License as published by
13
- * the Free Software Foundation; either version 2 of the License, or
14
- * (at your option) any later version.
1511 */
1612
1713 #ifndef _MV88E6XXX_PTP_H
....@@ -152,8 +148,9 @@
152148 #define ptp_to_chip(ptp) container_of(ptp, struct mv88e6xxx_chip, \
153149 ptp_clock_info)
154150
155
-extern const struct mv88e6xxx_ptp_ops mv88e6352_ptp_ops;
156151 extern const struct mv88e6xxx_ptp_ops mv88e6165_ptp_ops;
152
+extern const struct mv88e6xxx_ptp_ops mv88e6250_ptp_ops;
153
+extern const struct mv88e6xxx_ptp_ops mv88e6352_ptp_ops;
157154
158155 #else /* !CONFIG_NET_DSA_MV88E6XXX_PTP */
159156
....@@ -171,8 +168,9 @@
171168 {
172169 }
173170
174
-static const struct mv88e6xxx_ptp_ops mv88e6352_ptp_ops = {};
175171 static const struct mv88e6xxx_ptp_ops mv88e6165_ptp_ops = {};
172
+static const struct mv88e6xxx_ptp_ops mv88e6250_ptp_ops = {};
173
+static const struct mv88e6xxx_ptp_ops mv88e6352_ptp_ops = {};
176174
177175 #endif /* CONFIG_NET_DSA_MV88E6XXX_PTP */
178176