From: navin patidar <navin.patidar@gmail.com>
To: gregkh@linuxfoundation.org
Cc: Larry.Finger@lwfinger.net, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
navin patidar <navin.patidar@gmail.com>
Subject: [PATCH 09/26] staging: rtl8188eu: Remove function declarations in usb_intf.c
Date: Sun, 1 Jun 2014 17:46:35 +0530 [thread overview]
Message-ID: <1401625013-11208-9-git-send-email-navin.patidar@gmail.com> (raw)
In-Reply-To: <1401625013-11208-1-git-send-email-navin.patidar@gmail.com>
Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 28 ++++++++++-----------------
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index 21bf74d..45d2608 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
@@ -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)
--
1.7.10.4
next prev parent reply other threads:[~2014-06-01 12:18 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-01 12:16 [PATCH 01/26] staging: rtl8188eu: Remove function with empty defination ODM_ResetIQKResult() navin patidar
2014-06-01 12:16 ` [PATCH 02/26] staging :rtl8188eu: Remove HalPhyRf.[h|c] files navin patidar
2014-06-01 12:16 ` [PATCH 03/26] staging: rtl8188eu: Remove header file rtw_version.h navin patidar
2014-06-01 12:16 ` [PATCH 04/26] staging: rtl8188eu: Remove hw_init_mutex from struct rtw_usb_drv navin patidar
2014-06-01 12:16 ` [PATCH 05/26] staging: rtl8188eu: Use unregistering flag from struct usb_interface navin patidar
2014-06-01 12:16 ` [PATCH 06/26] staging : rtl8188eu: Remove drv_registered from struct rtw_usb_drv navin patidar
2014-06-01 12:16 ` [PATCH 07/26] staging: rtl8188eu: Remove " navin patidar
2014-06-01 12:16 ` [PATCH 08/26] staging: rtl8188eu: Use module_usb_driver() macro navin patidar
2014-06-01 12:16 ` navin patidar [this message]
2014-06-01 12:16 ` [PATCH 10/26] staging: rtl8188eu: Remove unused stucture defination struct specific_device_id navin patidar
2014-06-01 12:16 ` [PATCH 11/26] staging: rtl8188eu: Remove unused enum navin patidar
2014-06-01 12:16 ` [PATCH 12/26] staging: rtl8188eu: Remove unused members of struct dvobj_priv navin patidar
2014-06-01 12:16 ` [PATCH 13/26] staging: rtl8188eu: Remove usb_suspend_sema from " navin patidar
2014-06-01 12:16 ` [PATCH 14/26] staging: rtl8188eu: Remove usb_alloc_vendor_req_buf " navin patidar
2014-06-01 12:16 ` [PATCH 15/26] staging: rtl8188eu: Remove unused enum _ADAPTER_TYPE navin patidar
2014-06-01 12:16 ` [PATCH 16/26] staging: rtl8188eu: Remove unused enum _IFACE_TYPE navin patidar
2014-06-01 12:16 ` [PATCH 17/26] staging: rtl8188eu: Remove enum driver_state navin patidar
2014-06-01 12:16 ` [PATCH 18/26] staging: rtl8188eu: Remove DriverState from struct adapter navin patidar
2014-06-01 12:16 ` [PATCH 19/26] staging: rtl8188eu: Remove unused function rtl8188e_clone_haldata() navin patidar
2014-06-01 12:16 ` [PATCH 20/26] staging: rtl8188eu: Remove hal_data_sz from struct adapter navin patidar
2014-06-01 12:16 ` [PATCH 21/26] staging: rtl8188eu: Remove unused member variable of " navin patidar
2014-06-01 12:16 ` [PATCH 22/26] staging: rtl8188eu:Remove EepromAddressSize from " navin patidar
2014-06-01 12:16 ` [PATCH 23/26] staging: rtl8188eu: Remove pbuddy_adapter " navin patidar
2014-06-01 12:16 ` [PATCH 24/26] staging: rtl8188eu: Remove bCardDisableWOHSM " navin patidar
2014-06-01 12:16 ` [PATCH 25/26] staging: rtl8188eu: Remove unused function nat25_handle_frame() navin patidar
2014-06-08 14:04 ` [PATCH v2 " navin patidar
2014-06-01 12:16 ` [PATCH 26/26] staging: rtl8188eu: Remove function with empty defination() navin patidar
2014-06-02 9:08 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1401625013-11208-9-git-send-email-navin.patidar@gmail.com \
--to=navin.patidar@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox