> Do you agree that another mdio_mux_init() must be written ? (taking > a of_node (in our case: mdio-mux) instead of a device) Yes, you are correct, it is using dev->of_node. So you need to refactor the code a little, to allow an of_node to be passed. Andrew