summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJules Maselbas <jmaselbas@kalray.eu>2020-07-16 15:28:30 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-08-03 23:40:42 +0200
commita39362c2a2cd96e981c3f44931b661f5eba0d425 (patch)
tree619b42c7987e9dafc22bdd322a5522fea77cee12 /include
parent2ce08a22c2051f094a890a1fbb8fd46f2ff4ccb9 (diff)
downloadbarebox-a39362c2a2cd96e981c3f44931b661f5eba0d425.tar.gz
barebox-a39362c2a2cd96e981c3f44931b661f5eba0d425.tar.xz
USB: gadget: Add serialnumber device parameter
This add the device parameter usbgadget.serialnumber Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/usb/gadget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/gadget.h b/include/usb/gadget.h
index afa11b2d9d..3e1d7153dc 100644
--- a/include/usb/gadget.h
+++ b/include/usb/gadget.h
@@ -561,6 +561,7 @@ struct usb_gadget {
uint32_t product_id;
char *manufacturer;
char *productname;
+ char *serialnumber;
};
#define work_to_gadget(w) (container_of((w), struct usb_gadget, work))