Function prototypes must not be guarded with ifdef tests. Doing so
prevents us from doing:
if (CONFIG_IS_ENABLED(FOO))
func();
as that results in a warning when CONFIG_FOO is not enabled.
Signed-off-by: Tom Rini <trini@konsulko.com>
#define ESTATUS_1000XF 0x8000
#define ESTATUS_1000XH 0x4000
-#ifdef CONFIG_DM_MDIO
-
/**
* struct mdio_perdev_priv - Per-device class data for MDIO DM
*
*/
struct phy_device *dm_eth_phy_connect(struct udevice *ethdev);
-#endif
-
-#ifdef CONFIG_DM_MDIO_MUX
-
/* indicates none of the child buses is selected */
#define MDIO_MUX_SELECT_NONE -1
#define mdio_mux_get_ops(dev) ((struct mdio_mux_ops *)(dev)->driver->ops)
#endif
-
-#endif