From b04c308524b70147eeb255b2e53d6af505f75b21 Mon Sep 17 00:00:00 2001 From: "sc943313837@gmail.com" Date: Mon, 12 Nov 2012 12:07:16 +0000 Subject: [PATCH] Add two function declarations git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2403 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/drivers/include/drivers/usb_device.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/drivers/include/drivers/usb_device.h b/components/drivers/include/drivers/usb_device.h index 8213c072de..8d2257ccf4 100644 --- a/components/drivers/include/drivers/usb_device.h +++ b/components/drivers/include/drivers/usb_device.h @@ -156,7 +156,9 @@ uep_t rt_usbd_endpoint_create(uep_desc_t ep_desc, rt_err_t (*handler)(udevice_t device, rt_size_t size)); ualtsetting_t rt_usbd_altsetting_create(uintf_desc_t intf_desc, rt_size_t desc_size); +rt_err_t rt_usbd_core_init(void); rt_err_t rt_usbd_free_device(udevice_t device); +rt_err_t rt_usbd_device_set_controller(udevice_t device, udcd_t dcd); rt_err_t rt_usbd_device_set_descriptor(udevice_t device, udev_desc_t dev_desc); rt_err_t rt_usbd_device_add_config(udevice_t device, uconfig_t cfg); rt_err_t rt_usbd_config_add_class(uconfig_t cfg, uclass_t cls);