X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=common%2Fexports.c;h=b4f1f7af152997607aeab793637d2a832380abab;hb=75551c8bfc9545e31ec2ce238cac3857904007b8;hp=333107c74c3c68f9244eea3cdbd44a6f0c1c2802;hpb=be8ddad9c85935569a00b72f92cdc34e4386850f;p=oweals%2Fu-boot.git diff --git a/common/exports.c b/common/exports.c index 333107c74c..b4f1f7af15 100644 --- a/common/exports.c +++ b/common/exports.c @@ -16,6 +16,13 @@ unsigned long get_version(void) #define EXPORT_FUNC(f, a, x, ...) gd->jt->x = f; +#ifndef CONFIG_PHY_AQUANTIA +# define mdio_get_current_dev dummy +# define phy_find_by_mask dummy +# define mdio_phydev_for_ethname dummy +# define miiphy_set_current_dev dummy +#endif + void jumptable_init(void) { gd->jt = malloc(sizeof(struct jt_funcs));