summaryrefslogtreecommitdiffstats
path: root/drivers/staging/winbond/mds_s.h
diff options
context:
space:
mode:
authorPekka Enberg2008-10-30 12:04:29 +0100
committerGreg Kroah-Hartman2009-01-06 22:51:47 +0100
commit80aba53616a5f2f97adf386a2a3ccd5fb0dbfdd6 (patch)
treef8c185594cbf79af937ba81a38da57946bd8bd10 /drivers/staging/winbond/mds_s.h
parentStaging: w35und: remove unused link status code (diff)
downloadkernel-qcow2-linux-80aba53616a5f2f97adf386a2a3ccd5fb0dbfdd6.tar.gz
kernel-qcow2-linux-80aba53616a5f2f97adf386a2a3ccd5fb0dbfdd6.tar.xz
kernel-qcow2-linux-80aba53616a5f2f97adf386a2a3ccd5fb0dbfdd6.zip
Staging: w35und: #include cleanup
This patch moves #includes from sysdef.h and common.h to the files which actually need them. This makes the dependencies less complex and allows us to move code around much easily. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'drivers/staging/winbond/mds_s.h')
-rw-r--r--drivers/staging/winbond/mds_s.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/staging/winbond/mds_s.h b/drivers/staging/winbond/mds_s.h
index 04030b97d95e..02b11822b2cf 100644
--- a/drivers/staging/winbond/mds_s.h
+++ b/drivers/staging/winbond/mds_s.h
@@ -1,3 +1,14 @@
+#ifndef __WINBOND_MDS_H
+#define __WINBOND_MDS_H
+
+#include <linux/timer.h>
+#include <linux/types.h>
+#include <asm/atomic.h>
+
+#include "localpara.h"
+#include "mac_structures.h"
+#include "scan_s.h"
+
////////////////////////////////////////////////////////////////////////////////////////////////////////
#define MAX_USB_TX_DESCRIPTOR 15 // IS89C35 ability
#define MAX_USB_TX_BUFFER_NUMBER 4 // Virtual pre-buffer number of MAX_USB_TX_BUFFER
@@ -178,4 +189,4 @@ typedef struct _RXLAYER1
}RXLAYER1, * PRXLAYER1;
-
+#endif