.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * drivers/net/ethernet/ibm/emac/zmii.c |
---|
3 | 4 | * |
---|
.. | .. |
---|
14 | 15 | * Based on original work by |
---|
15 | 16 | * Armin Kuster <akuster@mvista.com> |
---|
16 | 17 | * 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 | | - * |
---|
23 | 18 | */ |
---|
24 | 19 | #include <linux/slab.h> |
---|
25 | 20 | #include <linux/kernel.h> |
---|
.. | .. |
---|
83 | 78 | } |
---|
84 | 79 | } |
---|
85 | 80 | |
---|
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) |
---|
87 | 83 | { |
---|
88 | 84 | struct zmii_instance *dev = platform_get_drvdata(ofdev); |
---|
89 | 85 | struct zmii_regs __iomem *p = dev->base; |
---|