aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/ether.c2
-rw-r--r--drivers/usb/gadget/file_storage.c2
-rw-r--r--drivers/usb/gadget/gmidi.c2
-rw-r--r--drivers/usb/gadget/serial.c2
-rw-r--r--drivers/usb/gadget/zero.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index 366dc0a9e52c..1c17d26d03b8 100644
--- a/drivers/usb/gadget/ether.c
+++ b/drivers/usb/gadget/ether.c
@@ -2260,7 +2260,7 @@ eth_bind (struct usb_gadget *gadget)
2260 return -ENODEV; 2260 return -ENODEV;
2261 } 2261 }
2262 snprintf (manufacturer, sizeof manufacturer, "%s %s/%s", 2262 snprintf (manufacturer, sizeof manufacturer, "%s %s/%s",
2263 system_utsname.sysname, system_utsname.release, 2263 init_utsname()->sysname, init_utsname()->release,
2264 gadget->name); 2264 gadget->name);
2265 2265
2266 /* If there's an RNDIS configuration, that's what Windows wants to 2266 /* If there's an RNDIS configuration, that's what Windows wants to
diff --git a/drivers/usb/gadget/file_storage.c b/drivers/usb/gadget/file_storage.c
index c83d3b6c68f2..8b975d15538d 100644
--- a/drivers/usb/gadget/file_storage.c
+++ b/drivers/usb/gadget/file_storage.c
@@ -4001,7 +4001,7 @@ static int __init fsg_bind(struct usb_gadget *gadget)
4001 usb_gadget_set_selfpowered(gadget); 4001 usb_gadget_set_selfpowered(gadget);
4002 4002
4003 snprintf(manufacturer, sizeof manufacturer, "%s %s with %s", 4003 snprintf(manufacturer, sizeof manufacturer, "%s %s with %s",
4004 system_utsname.sysname, system_utsname.release, 4004 init_utsname()->sysname, init_utsname()->release,
4005 gadget->name); 4005 gadget->name);
4006 4006
4007 /* On a real device, serial[] would be loaded from permanent 4007 /* On a real device, serial[] would be loaded from permanent
diff --git a/drivers/usb/gadget/gmidi.c b/drivers/usb/gadget/gmidi.c
index b68cecd57411..83601d4009e3 100644
--- a/drivers/usb/gadget/gmidi.c
+++ b/drivers/usb/gadget/gmidi.c
@@ -1189,7 +1189,7 @@ static int __devinit gmidi_bind(struct usb_gadget *gadget)
1189 strlcpy(manufacturer, iManufacturer, sizeof(manufacturer)); 1189 strlcpy(manufacturer, iManufacturer, sizeof(manufacturer));
1190 } else { 1190 } else {
1191 snprintf(manufacturer, sizeof(manufacturer), "%s %s with %s", 1191 snprintf(manufacturer, sizeof(manufacturer), "%s %s with %s",
1192 system_utsname.sysname, system_utsname.release, 1192 init_utsname()->sysname, init_utsname()->release,
1193 gadget->name); 1193 gadget->name);
1194 } 1194 }
1195 if (iProduct) { 1195 if (iProduct) {
diff --git a/drivers/usb/gadget/serial.c b/drivers/usb/gadget/serial.c
index 489a85e58bca..208e55a667ac 100644
--- a/drivers/usb/gadget/serial.c
+++ b/drivers/usb/gadget/serial.c
@@ -1434,7 +1434,7 @@ static int __init gs_bind(struct usb_gadget *gadget)
1434 return -ENOMEM; 1434 return -ENOMEM;
1435 1435
1436 snprintf(manufacturer, sizeof(manufacturer), "%s %s with %s", 1436 snprintf(manufacturer, sizeof(manufacturer), "%s %s with %s",
1437 system_utsname.sysname, system_utsname.release, 1437 init_utsname()->sysname, init_utsname()->release,
1438 gadget->name); 1438 gadget->name);
1439 1439
1440 memset(dev, 0, sizeof(struct gs_dev)); 1440 memset(dev, 0, sizeof(struct gs_dev));
diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c
index b7018ee487ea..0f809dd68492 100644
--- a/drivers/usb/gadget/zero.c
+++ b/drivers/usb/gadget/zero.c
@@ -1242,7 +1242,7 @@ autoconf_fail:
1242 EP_OUT_NAME, EP_IN_NAME); 1242 EP_OUT_NAME, EP_IN_NAME);
1243 1243
1244 snprintf (manufacturer, sizeof manufacturer, "%s %s with %s", 1244 snprintf (manufacturer, sizeof manufacturer, "%s %s with %s",
1245 system_utsname.sysname, system_utsname.release, 1245 init_utsname()->sysname, init_utsname()->release,
1246 gadget->name); 1246 gadget->name);
1247 1247
1248 return 0; 1248 return 0;