mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 20:22:08 +02:00
staging: rtl8188eu: Remove function declarations in usb_intf.c
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
774cce1ebc
commit
5e2b1f1514
|
|
@ -35,14 +35,6 @@
|
|||
|
||||
int ui_pid[3] = {0, 0, 0};
|
||||
|
||||
static int rtw_suspend(struct usb_interface *intf, pm_message_t message);
|
||||
static int rtw_resume(struct usb_interface *intf);
|
||||
|
||||
|
||||
static int rtw_drv_init(struct usb_interface *pusb_intf, const struct usb_device_id *pdid);
|
||||
static void rtw_dev_remove(struct usb_interface *pusb_intf);
|
||||
|
||||
|
||||
#define USB_VENDER_ID_REALTEK 0x0bda
|
||||
|
||||
/* DID_USB_v916_20130116 */
|
||||
|
|
@ -60,16 +52,6 @@ static struct usb_device_id rtw_usb_id_tbl[] = {
|
|||
|
||||
MODULE_DEVICE_TABLE(usb, rtw_usb_id_tbl);
|
||||
|
||||
static struct usb_driver rtl8188e_usb_drv = {
|
||||
.name = "r8188eu",
|
||||
.probe = rtw_drv_init,
|
||||
.disconnect = rtw_dev_remove,
|
||||
.id_table = rtw_usb_id_tbl,
|
||||
.suspend = rtw_suspend,
|
||||
.resume = rtw_resume,
|
||||
.reset_resume = rtw_resume,
|
||||
};
|
||||
|
||||
static u8 rtw_init_intf_priv(struct dvobj_priv *dvobj)
|
||||
{
|
||||
u8 rst = _SUCCESS;
|
||||
|
|
@ -718,4 +700,14 @@ static void rtw_dev_remove(struct usb_interface *pusb_intf)
|
|||
return;
|
||||
}
|
||||
|
||||
static struct usb_driver rtl8188e_usb_drv = {
|
||||
.name = "r8188eu",
|
||||
.probe = rtw_drv_init,
|
||||
.disconnect = rtw_dev_remove,
|
||||
.id_table = rtw_usb_id_tbl,
|
||||
.suspend = rtw_suspend,
|
||||
.resume = rtw_resume,
|
||||
.reset_resume = rtw_resume,
|
||||
};
|
||||
|
||||
module_usb_driver(rtl8188e_usb_drv)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user