mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

There's no need to include phy.h and mutex.h in mdio-boardinfo.h. However mdio-boardinfo.c included phy.h indirectly this way so far, include it explicitly instead. Whilst at it, sort the included headers properly. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/86b7a1d6-9f9c-4d22-b3d8-5abdef0bb39a@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
18 lines
411 B
C
18 lines
411 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* mdio-boardinfo.h - board info interface internal to the mdio_bus
|
|
* component
|
|
*/
|
|
|
|
#ifndef __MDIO_BOARD_INFO_H
|
|
#define __MDIO_BOARD_INFO_H
|
|
|
|
struct mii_bus;
|
|
struct mdio_board_info;
|
|
|
|
void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus,
|
|
int (*cb)
|
|
(struct mii_bus *bus,
|
|
struct mdio_board_info *bi));
|
|
|
|
#endif /* __MDIO_BOARD_INFO_H */
|