aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass2015-04-19 07:20:59 -0600
committerSimon Glass2015-04-22 11:13:24 -0600
commit093f2dce443296ab05b1b9a356a9153d5621791b (patch)
tree276fe1ed741e8460a867c4fcacb9861f2a7baf06
parent07d260e047680971d926bc9a573f9291f39fc988 (diff)
dm: usb: Add a terminator to the string destructor list
The terminator is missing. Add it for completeness. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Tested-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r--drivers/usb/emul/sandbox_hub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/emul/sandbox_hub.c b/drivers/usb/emul/sandbox_hub.c
index 280c7080f2a..baf8bdc857b 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 = {