hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
....@@ -1,18 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2017 John Crispin <john@phrozen.org>
34 *
45 * Based on code from
56 * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
167 */
178
189 #include <linux/delay.h>
....@@ -151,7 +142,7 @@
151142 return 0;
152143 }
153144
154
-static struct phy_ops ralink_usb_phy_ops = {
145
+static const struct phy_ops ralink_usb_phy_ops = {
155146 .power_on = ralink_usb_phy_power_on,
156147 .power_off = ralink_usb_phy_power_off,
157148 .owner = THIS_MODULE,