summaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-11-15 10:31:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-11-15 14:24:18 +0100
commit4f655dd24a718f86cc2517a887b9c0fd01511ba3 (patch)
tree0160951256bf23fe9954a1f94e6bf69a039adb30 /include/linux/phy.h
parentd65d9df83cfc86b946751bba402a6b47c9c4de01 (diff)
downloadbarebox-4f655dd24a718f86cc2517a887b9c0fd01511ba3.tar.gz
barebox-4f655dd24a718f86cc2517a887b9c0fd01511ba3.tar.xz
phy: add phy_drivers_register
to allow to register an array of drivers Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r--include/linux/phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 76f9edb237..4f14daef65 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -226,6 +226,7 @@ struct phy_driver {
#define PHY_ANY_UID 0xffffffff
int phy_driver_register(struct phy_driver *drv);
+int phy_drivers_register(struct phy_driver *new_driver, int n);
struct phy_device *get_phy_device(struct mii_bus *bus, int addr);
int phy_init(void);