X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fnetconsole.c;h=73005ff94d9f27635317b183271c25f5124dd186;hb=3b26d527d355c00eb9a0b2b0c11536e4e62c10aa;hp=11dbf5375b116e76843986b3b4d1e00a7664eb5f;hpb=b25f8e2112b1582ce6386e846800a31bab688e50;p=oweals%2Fu-boot.git diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index 11dbf5375b..73005ff94d 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include #include +#include #include #include @@ -56,7 +56,7 @@ static int is_broadcast(struct in_addr ip) static struct in_addr netmask; static struct in_addr our_ip; static int env_changed_id; - int env_id = get_env_id(); + int env_id = env_get_id(); /* update only when the environment has changed */ if (env_changed_id != env_id) { @@ -76,7 +76,7 @@ static int refresh_settings_from_env(void) { const char *p; static int env_changed_id; - int env_id = get_env_id(); + int env_id = env_get_id(); /* update only when the environment has changed */ if (env_changed_id != env_id) {