mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 06:30:20 -04:00
net: phy: move definition of struct mdio_board_entry to mdio-boardinfo.c
Struct mdio_board_entry isn't used outside mdio-boardinfo.c, so remove the definition from the header file. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/0afe52d0-6fe6-434a-9881-3979661ff7b0@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
0893bf6bb4
commit
db4920604a
@@ -14,6 +14,11 @@
|
||||
static LIST_HEAD(mdio_board_list);
|
||||
static DEFINE_MUTEX(mdio_board_lock);
|
||||
|
||||
struct mdio_board_entry {
|
||||
struct list_head list;
|
||||
struct mdio_board_info board_info;
|
||||
};
|
||||
|
||||
/**
|
||||
* mdiobus_setup_mdiodev_from_board_info - create and setup MDIO devices
|
||||
* from pre-collected board specific MDIO information
|
||||
|
||||
@@ -10,11 +10,6 @@
|
||||
#include <linux/phy.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
struct mdio_board_entry {
|
||||
struct list_head list;
|
||||
struct mdio_board_info board_info;
|
||||
};
|
||||
|
||||
void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus,
|
||||
int (*cb)
|
||||
(struct mii_bus *bus,
|
||||
|
||||
Reference in New Issue
Block a user