aboutsummaryrefslogtreecommitdiff
path: root/board/broadcom/bcm23550_w1d/bcm23550_w1d.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/broadcom/bcm23550_w1d/bcm23550_w1d.c')
-rw-r--r--board/broadcom/bcm23550_w1d/bcm23550_w1d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/broadcom/bcm23550_w1d/bcm23550_w1d.c b/board/broadcom/bcm23550_w1d/bcm23550_w1d.c
index 5f4c634..0267582 100644
--- a/board/broadcom/bcm23550_w1d/bcm23550_w1d.c
+++ b/board/broadcom/bcm23550_w1d/bcm23550_w1d.c
@@ -103,7 +103,7 @@ int board_usb_init(int index, enum usb_init_type init)
int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
{
debug("%s\n", __func__);
- if (!getenv("serial#"))
+ if (!env_get("serial#"))
g_dnl_set_serialnumber(CONFIG_USB_SERIALNO);
return 0;
}