summaryrefslogtreecommitdiff
path: root/board/siemens
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2013-10-08 14:30:41 +0200
committerMarek Vasut <marex@denx.de>2013-10-20 23:42:41 +0200
commitd6eae7b0b172b3ef31a3f816ce946857f382ac4e (patch)
tree475ac79d07aec27e7b54d21dca7fc915fb36bdee /board/siemens
parent7b412ab31fe7957eabbfa86c131679fb244d7079 (diff)
usb:g_dnl: Add name parameter to g_dnl_bind_fixup function
New parameter, namely *name has been added to g_dnl_bind_fixup(). It is necessary (for compatibility reasons) to assign new USB idProduct and idVendor for different usb functions. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/siemens')
-rw-r--r--board/siemens/common/factoryset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/siemens/common/factoryset.c b/board/siemens/common/factoryset.c
index eda9141c546..fbe79973e39 100644
--- a/board/siemens/common/factoryset.c
+++ b/board/siemens/common/factoryset.c
@@ -275,7 +275,7 @@ int factoryset_setenv(void)
return ret;
}
-int g_dnl_bind_fixup(struct usb_device_descriptor *dev)
+int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
{
put_unaligned(factory_dat.usb_vendor_id, &dev->idVendor);
put_unaligned(factory_dat.usb_product_id, &dev->idProduct);