.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0+ |
---|
1 | 2 | /* |
---|
2 | 3 | * mdio-boardinfo - Collect pre-declarations for MDIO devices |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify it |
---|
5 | | - * under the terms of the GNU General Public License as published by the |
---|
6 | | - * Free Software Foundation; either version 2 of the License, or (at your |
---|
7 | | - * option) any later version. |
---|
8 | 4 | */ |
---|
9 | 5 | |
---|
10 | 6 | #include <linux/kernel.h> |
---|
.. | .. |
---|
21 | 17 | /** |
---|
22 | 18 | * mdiobus_setup_mdiodev_from_board_info - create and setup MDIO devices |
---|
23 | 19 | * from pre-collected board specific MDIO information |
---|
24 | | - * @mdiodev: MDIO device pointer |
---|
| 20 | + * @bus: Bus the board_info belongs to |
---|
| 21 | + * @cb: Callback to create device on bus |
---|
25 | 22 | * Context: can sleep |
---|
26 | 23 | */ |
---|
27 | 24 | void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus, |
---|