]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: usb: Add a terminator to the string destructor list
authorSimon Glass <sjg@chromium.org>
Sun, 19 Apr 2015 13:20:59 +0000 (07:20 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Apr 2015 17:13:24 +0000 (11:13 -0600)
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>
drivers/usb/emul/sandbox_hub.c

index 280c7080f2aecba6deb8b60c79ca3fc4dd8d8979..baf8bdc857b6452315af9c7efec983dd2a1bc06d 100644 (file)
@@ -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 = {