[U-Boot] [PATCH 2/5] dm: usb: Add a terminator to the string destructor list

Simon Glass sjg at chromium.org
Sun Apr 19 15:20:59 CEST 2015


The terminator is missing. Add it for completeness.

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

 drivers/usb/emul/sandbox_hub.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/emul/sandbox_hub.c b/drivers/usb/emul/sandbox_hub.c
index 280c708..baf8bdc 100644
--- a/drivers/usb/emul/sandbox_hub.c
+++ b/drivers/usb/emul/sandbox_hub.c
@@ -32,6 +32,7 @@ static struct usb_string hub_strings[] = {
 	{STRING_MANUFACTURER,	"sandbox"},
 	{STRING_PRODUCT,	"hub"},
 	{STRING_SERIAL,		"2345"},
+	{},
 };
 
 static struct usb_device_descriptor hub_device_desc = {
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list