| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Marvell 88E6xxx Switch PTP support |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * Erik Hons <erik.hons@ni.com> |
|---|
| 8 | 9 | * Brandon Streiff <brandon.streiff@ni.com> |
|---|
| 9 | 10 | * 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. |
|---|
| 15 | 11 | */ |
|---|
| 16 | 12 | |
|---|
| 17 | 13 | #ifndef _MV88E6XXX_PTP_H |
|---|
| .. | .. |
|---|
| 152 | 148 | #define ptp_to_chip(ptp) container_of(ptp, struct mv88e6xxx_chip, \ |
|---|
| 153 | 149 | ptp_clock_info) |
|---|
| 154 | 150 | |
|---|
| 155 | | -extern const struct mv88e6xxx_ptp_ops mv88e6352_ptp_ops; |
|---|
| 156 | 151 | 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; |
|---|
| 157 | 154 | |
|---|
| 158 | 155 | #else /* !CONFIG_NET_DSA_MV88E6XXX_PTP */ |
|---|
| 159 | 156 | |
|---|
| .. | .. |
|---|
| 171 | 168 | { |
|---|
| 172 | 169 | } |
|---|
| 173 | 170 | |
|---|
| 174 | | -static const struct mv88e6xxx_ptp_ops mv88e6352_ptp_ops = {}; |
|---|
| 175 | 171 | 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 = {}; |
|---|
| 176 | 174 | |
|---|
| 177 | 175 | #endif /* CONFIG_NET_DSA_MV88E6XXX_PTP */ |
|---|
| 178 | 176 | |
|---|