kcov: collect coverage from interrupts
[linux-2.6-microblaze.git] / include / linux / phylink.h
index 3f8d37e..cc5b452 100644 (file)
@@ -67,6 +67,9 @@ struct phylink_config {
        struct device *dev;
        enum phylink_op_type type;
        bool pcs_poll;
+       bool poll_fixed_state;
+       void (*get_fixed_state)(struct phylink_config *config,
+                               struct phylink_link_state *state);
 };
 
 /**
@@ -366,9 +369,6 @@ void phylink_destroy(struct phylink *);
 int phylink_connect_phy(struct phylink *, struct phy_device *);
 int phylink_of_phy_connect(struct phylink *, struct device_node *, u32 flags);
 void phylink_disconnect_phy(struct phylink *);
-int phylink_fixed_state_cb(struct phylink *,
-                          void (*cb)(struct net_device *dev,
-                                     struct phylink_link_state *));
 
 void phylink_mac_change(struct phylink *, bool up);