hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/ibm/emac/zmii.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * drivers/net/ethernet/ibm/emac/zmii.c
34 *
....@@ -14,12 +15,6 @@
1415 * Based on original work by
1516 * Armin Kuster <akuster@mvista.com>
1617 * Copyright 2001 MontaVista Softare Inc.
17
- *
18
- * This program is free software; you can redistribute it and/or modify it
19
- * under the terms of the GNU General Public License as published by the
20
- * Free Software Foundation; either version 2 of the License, or (at your
21
- * option) any later version.
22
- *
2318 */
2419 #include <linux/slab.h>
2520 #include <linux/kernel.h>
....@@ -83,7 +78,8 @@
8378 }
8479 }
8580
86
-int zmii_attach(struct platform_device *ofdev, int input, int *mode)
81
+int zmii_attach(struct platform_device *ofdev, int input,
82
+ phy_interface_t *mode)
8783 {
8884 struct zmii_instance *dev = platform_get_drvdata(ofdev);
8985 struct zmii_regs __iomem *p = dev->base;