aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy_fixed.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/phy_fixed.h')
-rw-r--r--include/linux/phy_fixed.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/phy_fixed.h b/include/linux/phy_fixed.h
index 509d8f5f984e..4f2478b47136 100644
--- a/include/linux/phy_fixed.h
+++ b/include/linux/phy_fixed.h
@@ -9,15 +9,26 @@ struct fixed_phy_status {
9 int asym_pause; 9 int asym_pause;
10}; 10};
11 11
12struct device_node;
13
12#ifdef CONFIG_FIXED_PHY 14#ifdef CONFIG_FIXED_PHY
13extern int fixed_phy_add(unsigned int irq, int phy_id, 15extern int fixed_phy_add(unsigned int irq, int phy_id,
14 struct fixed_phy_status *status); 16 struct fixed_phy_status *status);
17extern int fixed_phy_register(unsigned int irq,
18 struct fixed_phy_status *status,
19 struct device_node *np);
15#else 20#else
16static inline int fixed_phy_add(unsigned int irq, int phy_id, 21static inline int fixed_phy_add(unsigned int irq, int phy_id,
17 struct fixed_phy_status *status) 22 struct fixed_phy_status *status)
18{ 23{
19 return -ENODEV; 24 return -ENODEV;
20} 25}
26static inline int fixed_phy_register(unsigned int irq,
27 struct fixed_phy_status *status,
28 struct device_node *np)
29{
30 return -ENODEV;
31}
21#endif /* CONFIG_FIXED_PHY */ 32#endif /* CONFIG_FIXED_PHY */
22 33
23/* 34/*