phy: generate swphy registers on the fly
[cascardo/linux.git] / drivers / net / phy / swphy.h
index 33d2e06..2f09ac3 100644 (file)
@@ -4,6 +4,6 @@
 struct fixed_phy_status;
 
 int swphy_validate_state(const struct fixed_phy_status *state);
-void swphy_update_regs(u16 *regs, const struct fixed_phy_status *state);
+int swphy_read_reg(int reg, const struct fixed_phy_status *state);
 
 #endif