From: Simon Glass <sjg@chromium.org>
Date: Wed, 8 Jul 2015 02:53:35 +0000 (-0600)
Subject: dm: usb: Add an errno.h header to usb_ether.c
X-Git-Tag: v2025.01-rc5-pxa1908~12382^2~18
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=2e5350fee0f6d17306c851cbf1fbc9e010bd8478;p=u-boot.git

dm: usb: Add an errno.h header to usb_ether.c

This is required on some platforms, so add it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/drivers/usb/eth/usb_ether.c b/drivers/usb/eth/usb_ether.c
index 63785a9c59..3c3e082b27 100644
--- a/drivers/usb/eth/usb_ether.c
+++ b/drivers/usb/eth/usb_ether.c
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <errno.h>
 #include <malloc.h>
 #include <usb.h>
 #include <dm/device-internal.h>