diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-24 15:36:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-24 15:36:56 -0400 |
| commit | b9f12a5d97f652c77ef6803dccd0d40d1290f5be (patch) | |
| tree | 8f58c8620ffef0d350a5ec022feda492a96b179a /include/linux/phy_fixed.h | |
| parent | 9d8dc3e529a19e427fd379118acd132520935c5d (diff) | |
| parent | 9a3c4145af32125c5ee39c0272662b47307a8323 (diff) | |
Merge tag 'v3.16-rc6' into next
Merge with mainline to bring in changes to MFD to allow merging
ipaq-micro-ts driver.
Diffstat (limited to 'include/linux/phy_fixed.h')
| -rw-r--r-- | include/linux/phy_fixed.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/phy_fixed.h b/include/linux/phy_fixed.h index 509d8f5f984e..ae612acebb53 100644 --- a/include/linux/phy_fixed.h +++ b/include/linux/phy_fixed.h | |||
| @@ -9,15 +9,31 @@ struct fixed_phy_status { | |||
| 9 | int asym_pause; | 9 | int asym_pause; |
| 10 | }; | 10 | }; |
| 11 | 11 | ||
| 12 | struct device_node; | ||
| 13 | |||
| 12 | #ifdef CONFIG_FIXED_PHY | 14 | #ifdef CONFIG_FIXED_PHY |
| 13 | extern int fixed_phy_add(unsigned int irq, int phy_id, | 15 | extern int fixed_phy_add(unsigned int irq, int phy_id, |
| 14 | struct fixed_phy_status *status); | 16 | struct fixed_phy_status *status); |
| 17 | extern int fixed_phy_register(unsigned int irq, | ||
| 18 | struct fixed_phy_status *status, | ||
| 19 | struct device_node *np); | ||
| 20 | extern void fixed_phy_del(int phy_addr); | ||
| 15 | #else | 21 | #else |
| 16 | static inline int fixed_phy_add(unsigned int irq, int phy_id, | 22 | static inline int fixed_phy_add(unsigned int irq, int phy_id, |
| 17 | struct fixed_phy_status *status) | 23 | struct fixed_phy_status *status) |
| 18 | { | 24 | { |
| 19 | return -ENODEV; | 25 | return -ENODEV; |
| 20 | } | 26 | } |
| 27 | static inline int fixed_phy_register(unsigned int irq, | ||
| 28 | struct fixed_phy_status *status, | ||
| 29 | struct device_node *np) | ||
| 30 | { | ||
| 31 | return -ENODEV; | ||
| 32 | } | ||
| 33 | static inline int fixed_phy_del(int phy_addr) | ||
| 34 | { | ||
| 35 | return -ENODEV; | ||
| 36 | } | ||
| 21 | #endif /* CONFIG_FIXED_PHY */ | 37 | #endif /* CONFIG_FIXED_PHY */ |
| 22 | 38 | ||
| 23 | /* | 39 | /* |
