drivers: remove redundant forward declaration of usbh_dev_driver_t
It is already declared in usbh_core.h Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
This commit is contained in:
parent
b055665fb0
commit
2c81d1a3e6
4 changed files with 0 additions and 7 deletions
|
|
@ -110,10 +110,6 @@ struct _usbh_control {
|
|||
};
|
||||
typedef struct _usbh_control usbh_control_t;
|
||||
|
||||
|
||||
//forward declare usbh_dev_driver_t
|
||||
typedef struct _usbh_dev_driver usbh_dev_driver_t;
|
||||
|
||||
/**
|
||||
* @brief The _usbh_device struct
|
||||
*
|
||||
|
|
|
|||
|
|
@ -71,7 +71,6 @@ typedef struct _gp_xbox_config gp_xbox_config_t;
|
|||
*/
|
||||
void gp_xbox_driver_init(const gp_xbox_config_t *config);
|
||||
|
||||
typedef struct _usbh_dev_driver usbh_dev_driver_t;
|
||||
extern const usbh_dev_driver_t usbh_gp_xbox_driver;
|
||||
|
||||
END_DECLS
|
||||
|
|
|
|||
|
|
@ -78,7 +78,6 @@ enum HID_TYPE hid_get_type(uint8_t device_id);
|
|||
*/
|
||||
bool hid_is_connected(uint8_t device_id);
|
||||
|
||||
typedef struct _usbh_dev_driver usbh_dev_driver_t;
|
||||
extern const usbh_dev_driver_t usbh_hid_driver;
|
||||
|
||||
END_DECLS
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ BEGIN_DECLS
|
|||
*/
|
||||
void hub_driver_init(void);
|
||||
|
||||
typedef struct _usbh_dev_driver usbh_dev_driver_t;
|
||||
extern const usbh_dev_driver_t usbh_hub_driver;
|
||||
|
||||
END_DECLS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue