hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/net/ethernet/ezchip/nps_enet.h
....@@ -1,17 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright(c) 2015 EZchip Technologies.
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms and conditions of the GNU General Public License,
6
- * version 2, as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
12
- *
13
- * The full GNU General Public License is included in this distribution in
14
- * the file called "COPYING".
154 */
165
176 #ifndef _NPS_ENET_H
....@@ -178,7 +167,7 @@
178167 };
179168
180169 /**
181
- * nps_reg_set - Sets ENET register with provided value.
170
+ * nps_enet_reg_set - Sets ENET register with provided value.
182171 * @priv: Pointer to EZchip ENET private data structure.
183172 * @reg: Register offset from base address.
184173 * @value: Value to set in register.
....@@ -190,7 +179,7 @@
190179 }
191180
192181 /**
193
- * nps_reg_get - Gets value of specified ENET register.
182
+ * nps_enet_reg_get - Gets value of specified ENET register.
194183 * @priv: Pointer to EZchip ENET private data structure.
195184 * @reg: Register offset from base address.
196185 *