7 #include <asm/global_data.h>
9 DECLARE_GLOBAL_DATA_PTR;
11 __attribute__((unused)) static void dummy(void)
15 unsigned long get_version(void)
20 #define EXPORT_FUNC(f, a, x, ...) gd->jt->x = f;
22 #ifndef CONFIG_PHY_AQUANTIA
23 # define mdio_get_current_dev dummy
24 # define phy_find_by_mask dummy
25 # define mdio_phydev_for_ethname dummy
26 # define miiphy_set_current_dev dummy
29 int jumptable_init(void)
31 gd->jt = malloc(sizeof(struct jt_funcs));