diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/of_mdio.h | 3 | ||||
-rw-r--r-- | include/linux/rfkill.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h index c9663c690303..53b94e025c7c 100644 --- a/include/linux/of_mdio.h +++ b/include/linux/of_mdio.h | |||
@@ -18,5 +18,8 @@ extern struct phy_device *of_phy_connect(struct net_device *dev, | |||
18 | struct device_node *phy_np, | 18 | struct device_node *phy_np, |
19 | void (*hndlr)(struct net_device *), | 19 | void (*hndlr)(struct net_device *), |
20 | u32 flags, phy_interface_t iface); | 20 | u32 flags, phy_interface_t iface); |
21 | extern struct phy_device *of_phy_connect_fixed_link(struct net_device *dev, | ||
22 | void (*hndlr)(struct net_device *), | ||
23 | phy_interface_t iface); | ||
21 | 24 | ||
22 | #endif /* __LINUX_OF_MDIO_H */ | 25 | #endif /* __LINUX_OF_MDIO_H */ |
diff --git a/include/linux/rfkill.h b/include/linux/rfkill.h index f3d5812693d6..10202903141a 100644 --- a/include/linux/rfkill.h +++ b/include/linux/rfkill.h | |||
@@ -238,7 +238,7 @@ void rfkill_destroy(struct rfkill *rfkill); | |||
238 | * should be blocked) so that drivers need not keep track of the soft | 238 | * should be blocked) so that drivers need not keep track of the soft |
239 | * block state -- which they might not be able to. | 239 | * block state -- which they might not be able to. |
240 | */ | 240 | */ |
241 | bool __must_check rfkill_set_hw_state(struct rfkill *rfkill, bool blocked); | 241 | bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked); |
242 | 242 | ||
243 | /** | 243 | /** |
244 | * rfkill_set_sw_state - Set the internal rfkill software block state | 244 | * rfkill_set_sw_state - Set the internal rfkill software block state |