X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fexports.c;h=b4f1f7af152997607aeab793637d2a832380abab;hb=7e16342bde9d56b5e2f7cd4eb51d128bfde45dd2;hp=333107c74c3c68f9244eea3cdbd44a6f0c1c2802;hpb=e1cc4d31f889428a4ca73120951389c756404184;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));