]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: rtl8188eu: Remove usb_osintf.h header file.
authornavin patidar <navin.patidar@gmail.com>
Thu, 10 Jul 2014 03:41:25 +0000 (09:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 04:08:47 +0000 (21:08 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ieee80211.c
drivers/staging/rtl8188eu/core/rtw_ioctl_set.c
drivers/staging/rtl8188eu/core/rtw_mlme.c
drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
drivers/staging/rtl8188eu/core/rtw_xmit.c
drivers/staging/rtl8188eu/hal/usb_halinit.c
drivers/staging/rtl8188eu/include/osdep_intf.h
drivers/staging/rtl8188eu/include/usb_osintf.h [deleted file]
drivers/staging/rtl8188eu/os_dep/os_intfs.c
drivers/staging/rtl8188eu/os_dep/usb_intf.c
drivers/staging/rtl8188eu/os_dep/xmit_linux.c

index a375b75998d250fdb627da1c276fc412518bb880..24665d615697f2deb72fbb3ee37814c1fbbd17e4 100644 (file)
 #define _IEEE80211_C
 
 #include <drv_types.h>
+#include <osdep_intf.h>
 #include <ieee80211.h>
 #include <wifi.h>
 #include <osdep_service.h>
 #include <wlan_bssdef.h>
-#include <usb_osintf.h>
 
 u8 RTW_WPA_OUI_TYPE[] = { 0x00, 0x50, 0xf2, 1 };
 u16 RTW_WPA_VERSION = 1;
index a97da87f317cabe65fdd578325c83a2089021c9a..39932cbc483750ad9d222272b27e6524164c10d9 100644 (file)
@@ -25,8 +25,6 @@
 #include <rtw_ioctl_set.h>
 #include <hal_intf.h>
 
-#include <usb_osintf.h>
-
 extern void indicate_wx_scan_complete_event(struct adapter *padapter);
 
 #define IS_MAC_ADDRESS_BROADCAST(addr) \
index 0cb9e152cc5ec86020fc820ccca5a0f264ba4d24..45e2739442e37de3f8a29d0e2983b1d2d62da841 100644 (file)
@@ -30,7 +30,6 @@
 #include <wifi.h>
 #include <wlan_bssdef.h>
 #include <rtw_ioctl_set.h>
-#include <usb_osintf.h>
 #include <linux/vmalloc.h>
 
 extern unsigned char   MCS_rate_2R[16];
index 9b80c8aa00c1b4f29c29e2493f9aa450d54ec4c8..5605d95d99fa1fc212765f49542d121b5008e9ff 100644 (file)
@@ -24,7 +24,6 @@
 #include <osdep_intf.h>
 #include <usb_ops_linux.h>
 #include <linux/usb.h>
-#include <usb_osintf.h>
 
 static int rtw_hw_suspend(struct adapter *padapter)
 {
index 95c508a09b23066fd900299b4e33b5d2898c00dd..639ace06a3d60a42252db7ff6d317636b66dee6d 100644 (file)
@@ -23,7 +23,6 @@
 #include <drv_types.h>
 #include <wifi.h>
 #include <osdep_intf.h>
-#include <usb_osintf.h>
 #include <linux/vmalloc.h>
 
 static u8 P802_1H_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0xf8 };
index 19cf5f551c40209e48c42f8c398ef44686964025..2bec1c35847484bf6d4c671b4dc390114ef61521 100644 (file)
@@ -27,7 +27,6 @@
 #include <rtl8188e_led.h>
 #include <rtw_iol.h>
 #include <usb_hal.h>
-#include <usb_osintf.h>
 
 #define                HAL_MAC_ENABLE  1
 #define                HAL_BB_ENABLE           1
index 523141a9eab49895c08cbae898bd41891093218c..efa786887962fcd56f93801b86d3c5777622ecf1 100644 (file)
@@ -24,6 +24,9 @@
 #include <osdep_service.h>
 #include <drv_types.h>
 
+extern char *rtw_initmac;
+extern int rtw_mc2u_disable;
+
 u8 rtw_init_drv_sw(struct adapter *padapter);
 u8 rtw_free_drv_sw(struct adapter *padapter);
 u8 rtw_reset_drv_sw(struct adapter *padapter);
@@ -40,8 +43,8 @@ u16 rtw_recv_select_queue(struct sk_buff *skb);
 void rtw_proc_init_one(struct net_device *dev);
 void rtw_proc_remove_one(struct net_device *dev);
 
+int pm_netdev_open(struct net_device *pnetdev, u8 bnormal);
 void rtw_ips_dev_unload(struct adapter *padapter);
-
 int rtw_ips_pwr_up(struct adapter *padapter);
 void rtw_ips_pwr_down(struct adapter *padapter);
 
diff --git a/drivers/staging/rtl8188eu/include/usb_osintf.h b/drivers/staging/rtl8188eu/include/usb_osintf.h
deleted file mode 100644 (file)
index 85805ca..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/******************************************************************************
- *
- * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
- *
- *
- ******************************************************************************/
-#ifndef __USB_OSINTF_H
-#define __USB_OSINTF_H
-
-#include <osdep_service.h>
-#include <drv_types.h>
-
-extern char *rtw_initmac;
-extern int rtw_mc2u_disable;
-
-#define USBD_HALTED(Status) ((u32)(Status) >> 30 == 3)
-
-int pm_netdev_open(struct net_device *pnetdev, u8 bnormal);
-void dhcp_flag_bcast(struct adapter *priv, struct sk_buff *skb);
-void *scdb_findEntry(struct adapter *priv, unsigned char *macAddr,
-                    unsigned char *ipAddr);
-
-int rtw_resume_process(struct adapter *padapter);
-
-#endif
index 7536be678a40c266b0bb191ba5e2ba636a8ab89e..e3c03539f98a62d1a6d772cfb90d95e7cb63997b 100644 (file)
@@ -27,7 +27,6 @@
 #include <hal_intf.h>
 #include <rtw_ioctl.h>
 
-#include <usb_osintf.h>
 #include <usb_hal.h>
 
 MODULE_LICENSE("GPL");
index 3c8720c8598d8c4fd3afb209db2c79b83104d7ca..f1630c22e88886a880dc828589130d583fa7d4c1 100644 (file)
@@ -29,7 +29,6 @@
 #include <osdep_intf.h>
 
 #include <usb_ops_linux.h>
-#include <usb_osintf.h>
 #include <usb_hal.h>
 #include <rtw_ioctl.h>
 
@@ -302,15 +301,7 @@ exit:
        return ret;
 }
 
-static int rtw_resume(struct usb_interface *pusb_intf)
-{
-       struct dvobj_priv *dvobj = usb_get_intfdata(pusb_intf);
-       struct adapter *padapter = dvobj->if1;
-
-       return rtw_resume_process(padapter);
-}
-
-int rtw_resume_process(struct adapter *padapter)
+static int rtw_resume_process(struct adapter *padapter)
 {
        struct net_device *pnetdev;
        struct pwrctrl_priv *pwrpriv = NULL;
@@ -357,6 +348,14 @@ exit:
        return ret;
 }
 
+static int rtw_resume(struct usb_interface *pusb_intf)
+{
+       struct dvobj_priv *dvobj = usb_get_intfdata(pusb_intf);
+       struct adapter *padapter = dvobj->if1;
+
+       return rtw_resume_process(padapter);
+}
+
 /*
  * drv_init() - a device potentially for us
  *
index b4f220d3afac119e8922378230ebe35b6679245a..0ce47b07ef8605b1f61ee7ba31fb4d02226a48d6 100644 (file)
@@ -26,7 +26,6 @@
 #include <mlme_osdep.h>
 #include <xmit_osdep.h>
 #include <osdep_intf.h>
-#include <usb_osintf.h>
 
 uint rtw_remainder_len(struct pkt_file *pfile)
 {