|
@@ -245,7 +245,9 @@ static void __init lager_init(void)
|
|
{
|
|
{
|
|
lager_add_standard_devices();
|
|
lager_add_standard_devices();
|
|
|
|
|
|
- phy_register_fixup_for_id("r8a7790-ether-ff:01", lager_ksz8041_fixup);
|
|
|
|
|
|
+ if (IS_ENABLED(CONFIG_PHYLIB))
|
|
|
|
+ phy_register_fixup_for_id("r8a7790-ether-ff:01",
|
|
|
|
+ lager_ksz8041_fixup);
|
|
}
|
|
}
|
|
|
|
|
|
static const char * const lager_boards_compat_dt[] __initconst = {
|
|
static const char * const lager_boards_compat_dt[] __initconst = {
|