Browse Source

staging: vt6656: removed no longer useful ttype.h file

Removed includes and added linux/types.h instead when needed.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Andres More 12 years ago
parent
commit
4fcf94980c
39 changed files with 7 additions and 85 deletions
  1. 0 2
      drivers/staging/vt6656/80211hdr.h
  2. 0 1
      drivers/staging/vt6656/80211mgr.h
  3. 1 1
      drivers/staging/vt6656/TODO
  4. 0 2
      drivers/staging/vt6656/aes_ccmp.h
  5. 0 1
      drivers/staging/vt6656/baseband.h
  6. 0 1
      drivers/staging/vt6656/bssdb.c
  7. 0 1
      drivers/staging/vt6656/card.h
  8. 0 1
      drivers/staging/vt6656/channel.h
  9. 0 1
      drivers/staging/vt6656/control.h
  10. 0 1
      drivers/staging/vt6656/datarate.c
  11. 1 1
      drivers/staging/vt6656/desc.h
  12. 0 1
      drivers/staging/vt6656/device.h
  13. 0 2
      drivers/staging/vt6656/device_cfg.h
  14. 0 1
      drivers/staging/vt6656/dpc.h
  15. 0 1
      drivers/staging/vt6656/firmware.h
  16. 0 1
      drivers/staging/vt6656/int.h
  17. 0 2
      drivers/staging/vt6656/iocmd.h
  18. 0 1
      drivers/staging/vt6656/key.h
  19. 0 1
      drivers/staging/vt6656/mac.h
  20. 0 1
      drivers/staging/vt6656/mib.h
  21. 2 0
      drivers/staging/vt6656/michael.h
  22. 0 1
      drivers/staging/vt6656/power.c
  23. 1 1
      drivers/staging/vt6656/rc4.h
  24. 0 1
      drivers/staging/vt6656/rf.h
  25. 0 1
      drivers/staging/vt6656/rxtx.h
  26. 0 2
      drivers/staging/vt6656/srom.h
  27. 1 1
      drivers/staging/vt6656/tcrc.h
  28. 0 1
      drivers/staging/vt6656/tether.h
  29. 0 1
      drivers/staging/vt6656/tkip.h
  30. 0 2
      drivers/staging/vt6656/tmacro.h
  31. 0 42
      drivers/staging/vt6656/ttype.h
  32. 0 1
      drivers/staging/vt6656/usbpipe.h
  33. 0 1
      drivers/staging/vt6656/wcmd.c
  34. 1 1
      drivers/staging/vt6656/wcmd.h
  35. 0 1
      drivers/staging/vt6656/wctl.h
  36. 0 1
      drivers/staging/vt6656/wmgr.h
  37. 0 1
      drivers/staging/vt6656/wpa.c
  38. 0 1
      drivers/staging/vt6656/wpa.h
  39. 0 1
      drivers/staging/vt6656/wpa2.h

+ 0 - 2
drivers/staging/vt6656/80211hdr.h

@@ -28,8 +28,6 @@
 #ifndef __80211HDR_H__
 #define __80211HDR_H__
 
-#include "ttype.h"
-
 /*---------------------  Export Definitions -------------------------*/
 
 /* bit type */

+ 0 - 1
drivers/staging/vt6656/80211mgr.h

@@ -31,7 +31,6 @@
 #ifndef __80211MGR_H__
 #define __80211MGR_H__
 
-#include "ttype.h"
 #include "80211hdr.h"
 
 /*---------------------  Export Definitions -------------------------*/

+ 1 - 1
drivers/staging/vt6656/TODO

@@ -7,7 +7,7 @@ TODO:
   - split rf.c
   - abstract VT3184 chipset specific code
 - add common vt665x infrastructure
-- kill ttype.h
+- kill ttype.h -- done
 - switch to use LIB80211
 - switch to use MAC80211
 - use kernel coding style

+ 0 - 2
drivers/staging/vt6656/aes_ccmp.h

@@ -30,8 +30,6 @@
 #ifndef __AES_H__
 #define __AES_H__
 
-#include "ttype.h"
-
 /*---------------------  Export Definitions -------------------------*/
 
 /*---------------------  Export Types  ------------------------------*/

+ 0 - 1
drivers/staging/vt6656/baseband.h

@@ -33,7 +33,6 @@
 #ifndef __BASEBAND_H__
 #define __BASEBAND_H__
 
-#include "ttype.h"
 #include "tether.h"
 #include "device.h"
 

+ 0 - 1
drivers/staging/vt6656/bssdb.c

@@ -39,7 +39,6 @@
  *
  */
 
-#include "ttype.h"
 #include "tmacro.h"
 #include "tether.h"
 #include "device.h"

+ 0 - 1
drivers/staging/vt6656/card.h

@@ -29,7 +29,6 @@
 #ifndef __CARD_H__
 #define __CARD_H__
 #include "device.h"
-#include "ttype.h"
 
 /*---------------------  Export Definitions -------------------------*/
 

+ 0 - 1
drivers/staging/vt6656/channel.h

@@ -31,7 +31,6 @@
 #define _CHANNEL_H_
 
 #include "device.h"
-#include "ttype.h"
 
 /*---------------------  Export Definitions -------------------------*/
 

+ 0 - 1
drivers/staging/vt6656/control.h

@@ -30,7 +30,6 @@
 #ifndef __CONTROL_H__
 #define __CONTROL_H__
 
-#include "ttype.h"
 #include "device.h"
 #include "usbpipe.h"
 

+ 0 - 1
drivers/staging/vt6656/datarate.c

@@ -33,7 +33,6 @@
  *
  */
 
-#include "ttype.h"
 #include "tmacro.h"
 #include "mac.h"
 #include "80211mgr.h"

+ 1 - 1
drivers/staging/vt6656/desc.h

@@ -33,7 +33,7 @@
 
 #include <linux/types.h>
 #include <linux/mm.h>
-#include "ttype.h"
+
 #include "tether.h"
 
 /* max transmit or receive buffer size */

+ 0 - 1
drivers/staging/vt6656/device.h

@@ -66,7 +66,6 @@
  */
 
 #include "device_cfg.h"
-#include "ttype.h"
 #include "80211hdr.h"
 #include "tether.h"
 #include "wmgr.h"

+ 0 - 2
drivers/staging/vt6656/device_cfg.h

@@ -29,8 +29,6 @@
 
 #include <linux/types.h>
 
-#include "ttype.h"
-
 typedef
 struct _version {
     unsigned char   major;

+ 0 - 1
drivers/staging/vt6656/dpc.h

@@ -29,7 +29,6 @@
 #ifndef __DPC_H__
 #define __DPC_H__
 
-#include "ttype.h"
 #include "device.h"
 #include "wcmd.h"
 

+ 0 - 1
drivers/staging/vt6656/firmware.h

@@ -30,7 +30,6 @@
 #ifndef __FIRMWARE_H__
 #define __FIRMWARE_H__
 
-#include "ttype.h"
 #include "device.h"
 
 /*---------------------  Export Definitions -------------------------*/

+ 0 - 1
drivers/staging/vt6656/int.h

@@ -30,7 +30,6 @@
 #ifndef __INT_H__
 #define __INT_H__
 
-#include "ttype.h"
 #include "device.h"
 
 /*---------------------  Export Definitions -------------------------*/

+ 0 - 2
drivers/staging/vt6656/iocmd.h

@@ -29,8 +29,6 @@
 #ifndef __IOCMD_H__
 #define __IOCMD_H__
 
-#include "ttype.h"
-
 /*---------------------  Export Definitions -------------------------*/
 
 // ioctl Command code

+ 0 - 1
drivers/staging/vt6656/key.h

@@ -30,7 +30,6 @@
 #ifndef __KEY_H__
 #define __KEY_H__
 
-#include "ttype.h"
 #include "tether.h"
 #include "80211mgr.h"
 

+ 0 - 1
drivers/staging/vt6656/mac.h

@@ -34,7 +34,6 @@
 #ifndef __MAC_H__
 #define __MAC_H__
 
-#include "ttype.h"
 #include "device.h"
 #include "tmacro.h"
 

+ 0 - 1
drivers/staging/vt6656/mib.h

@@ -29,7 +29,6 @@
 #ifndef __MIB_H__
 #define __MIB_H__
 
-#include "ttype.h"
 #include "tether.h"
 #include "desc.h"
 

+ 2 - 0
drivers/staging/vt6656/michael.h

@@ -31,6 +31,8 @@
 #ifndef __MICHAEL_H__
 #define __MICHAEL_H__
 
+#include <linux/types.h>
+
 /*---------------------  Export Definitions -------------------------*/
 
 /*---------------------  Export Types  ------------------------------*/

+ 0 - 1
drivers/staging/vt6656/power.c

@@ -37,7 +37,6 @@
  *
  */
 
-#include "ttype.h"
 #include "mac.h"
 #include "device.h"
 #include "wmgr.h"

+ 1 - 1
drivers/staging/vt6656/rc4.h

@@ -30,7 +30,7 @@
 #ifndef __RC4_H__
 #define __RC4_H__
 
-#include "ttype.h"
+#include <linux/types.h>
 
 /*---------------------  Export Definitions -------------------------*/
 /*---------------------  Export Types  ------------------------------*/

+ 0 - 1
drivers/staging/vt6656/rf.h

@@ -30,7 +30,6 @@
 #ifndef __RF_H__
 #define __RF_H__
 
-#include "ttype.h"
 #include "device.h"
 
 /*---------------------  Export Definitions -------------------------*/

+ 0 - 1
drivers/staging/vt6656/rxtx.h

@@ -29,7 +29,6 @@
 #ifndef __RXTX_H__
 #define __RXTX_H__
 
-#include "ttype.h"
 #include "device.h"
 #include "wcmd.h"
 

+ 0 - 2
drivers/staging/vt6656/srom.h

@@ -30,8 +30,6 @@
 #ifndef __SROM_H__
 #define __SROM_H__
 
-#include "ttype.h"
-
 /*---------------------  Export Definitions -------------------------*/
 
 #define EEP_MAX_CONTEXT_SIZE    256

+ 1 - 1
drivers/staging/vt6656/tcrc.h

@@ -29,7 +29,7 @@
 #ifndef __TCRC_H__
 #define __TCRC_H__
 
-#include "ttype.h"
+#include <linux/types.h>
 
 /*---------------------  Export Definitions -------------------------*/
 

+ 0 - 1
drivers/staging/vt6656/tether.h

@@ -30,7 +30,6 @@
 #define __TETHER_H__
 
 #include <linux/if_ether.h>
-#include "ttype.h"
 
 /*---------------------  Export Definitions -------------------------*/
 //

+ 0 - 1
drivers/staging/vt6656/tkip.h

@@ -30,7 +30,6 @@
 #ifndef __TKIP_H__
 #define __TKIP_H__
 
-#include "ttype.h"
 #include "tether.h"
 
 /*---------------------  Export Definitions -------------------------*/

+ 0 - 2
drivers/staging/vt6656/tmacro.h

@@ -29,8 +29,6 @@
 #ifndef __TMACRO_H__
 #define __TMACRO_H__
 
-#include "ttype.h"
-
 /****** Common helper macros ***********************************************/
 
 #if !defined(LOBYTE)

+ 0 - 42
drivers/staging/vt6656/ttype.h

@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
- * All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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-1301 USA.
- *
- * File: ttype.h
- *
- * Purpose: define basic common types and macros
- *
- * Author: Tevin Chen
- *
- * Date: May 21, 1996
- *
- */
-
-#ifndef __TTYPE_H__
-#define __TTYPE_H__
-
-#include <linux/types.h>
-
-/******* Common definitions and typedefs ***********************************/
-
-/****** Simple typedefs  ***************************************************/
-
-/****** Common pointer types ***********************************************/
-
-// boolean pointer
-
-#endif /* __TTYPE_H__ */

+ 0 - 1
drivers/staging/vt6656/usbpipe.h

@@ -30,7 +30,6 @@
 #ifndef __USBPIPE_H__
 #define __USBPIPE_H__
 
-#include "ttype.h"
 #include "device.h"
 
 /*---------------------  Export Definitions -------------------------*/

+ 0 - 1
drivers/staging/vt6656/wcmd.c

@@ -38,7 +38,6 @@
  *
  */
 
-#include "ttype.h"
 #include "tmacro.h"
 #include "device.h"
 #include "mac.h"

+ 1 - 1
drivers/staging/vt6656/wcmd.h

@@ -28,7 +28,7 @@
 
 #ifndef __WCMD_H__
 #define __WCMD_H__
-#include "ttype.h"
+
 #include "80211hdr.h"
 #include "80211mgr.h"
 

+ 0 - 1
drivers/staging/vt6656/wctl.h

@@ -29,7 +29,6 @@
 #ifndef __WCTL_H__
 #define __WCTL_H__
 
-#include "ttype.h"
 #include "tether.h"
 #include "device.h"
 

+ 0 - 1
drivers/staging/vt6656/wmgr.h

@@ -34,7 +34,6 @@
 #ifndef __WMGR_H__
 #define __WMGR_H__
 
-#include "ttype.h"
 #include "80211mgr.h"
 #include "80211hdr.h"
 #include "wcmd.h"

+ 0 - 1
drivers/staging/vt6656/wpa.c

@@ -32,7 +32,6 @@
  *
  */
 
-#include "ttype.h"
 #include "tmacro.h"
 #include "tether.h"
 #include "device.h"

+ 0 - 1
drivers/staging/vt6656/wpa.h

@@ -31,7 +31,6 @@
 #ifndef __WPA_H__
 #define __WPA_H__
 
-#include "ttype.h"
 #include "80211hdr.h"
 
 /*---------------------  Export Definitions -------------------------*/

+ 0 - 1
drivers/staging/vt6656/wpa2.h

@@ -31,7 +31,6 @@
 #ifndef __WPA2_H__
 #define __WPA2_H__
 
-#include "ttype.h"
 #include "80211mgr.h"
 #include "80211hdr.h"
 #include "bssdb.h"