hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/net/phy/amd.c
....@@ -1,15 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0+
12 /*
23 * Driver for AMD am79c PHYs
34 *
45 * Author: Heiko Schocher <hs@denx.de>
56 *
67 * Copyright (c) 2011 DENX Software Engineering GmbH
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License as published by the
10
- * Free Software Foundation; either version 2 of the License, or (at your
11
- * option) any later version.
12
- *
138 */
149 #include <linux/kernel.h>
1510 #include <linux/errno.h>
....@@ -65,8 +60,7 @@
6560 .phy_id = PHY_ID_AM79C874,
6661 .name = "AM79C874",
6762 .phy_id_mask = 0xfffffff0,
68
- .features = PHY_BASIC_FEATURES,
69
- .flags = PHY_HAS_INTERRUPT,
63
+ /* PHY_BASIC_FEATURES */
7064 .config_init = am79c_config_init,
7165 .ack_interrupt = am79c_ack_interrupt,
7266 .config_intr = am79c_config_intr,