summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/f_dfu.h
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2013-09-17 15:58:23 +0200
committerMarek Vasut <marex@denx.de>2013-09-24 17:51:36 +0200
commita6921adcf200b3f2b6fadd78f99ea99b0f362e9c (patch)
tree8a2f8f668d53321c561016e97b46d3a925223720 /drivers/usb/gadget/f_dfu.h
parent69d6cbe748ae13e6b728d2c28616a8c54b07f9c2 (diff)
downloadtalos-obmc-uboot-a6921adcf200b3f2b6fadd78f99ea99b0f362e9c.tar.gz
talos-obmc-uboot-a6921adcf200b3f2b6fadd78f99ea99b0f362e9c.zip
usb:g_dnl:dfu: Download gadget and DFU function code clean up
The download gadget code and DFU function lacks of proper declarations for the case when a target board wants to use only one of available usb functions. Moreover the relevant declarations have been moved to consistent localization (like <dfu.h>). Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/gadget/f_dfu.h')
-rw-r--r--drivers/usb/gadget/f_dfu.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/gadget/f_dfu.h b/drivers/usb/gadget/f_dfu.h
index 34a4dde5aa..cc2c45567b 100644
--- a/drivers/usb/gadget/f_dfu.h
+++ b/drivers/usb/gadget/f_dfu.h
@@ -82,7 +82,4 @@ struct dfu_function_descriptor {
__le16 wTransferSize;
__le16 bcdDFUVersion;
} __packed;
-
-/* configuration-specific linkup */
-int dfu_add(struct usb_configuration *c);
#endif /* __F_DFU_H_ */
OpenPOWER on IntegriCloud