hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/net/ethernet/ibm/emac/zmii.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * drivers/net/ethernet/ibm/emac/zmii.h
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 #ifndef __IBM_NEWEMAC_ZMII_H
2520 #define __IBM_NEWEMAC_ZMII_H
....@@ -55,7 +50,8 @@
5550
5651 int zmii_init(void);
5752 void zmii_exit(void);
58
-int zmii_attach(struct platform_device *ofdev, int input, int *mode);
53
+int zmii_attach(struct platform_device *ofdev, int input,
54
+ phy_interface_t *mode);
5955 void zmii_detach(struct platform_device *ofdev, int input);
6056 void zmii_get_mdio(struct platform_device *ofdev, int input);
6157 void zmii_put_mdio(struct platform_device *ofdev, int input);