summaryrefslogtreecommitdiff
path: root/drivers/staging/winbond/wbhal_s.h
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-10-30 13:04:29 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:51:47 -0800
commit80aba53616a5f2f97adf386a2a3ccd5fb0dbfdd6 (patch)
treef8c185594cbf79af937ba81a38da57946bd8bd10 /drivers/staging/winbond/wbhal_s.h
parent8971280fb21354b118956bed506f79a515759410 (diff)
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/wbhal_s.h')
-rw-r--r--drivers/staging/winbond/wbhal_s.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/staging/winbond/wbhal_s.h b/drivers/staging/winbond/wbhal_s.h
index 4eeb08926e2e..af99713b3145 100644
--- a/drivers/staging/winbond/wbhal_s.h
+++ b/drivers/staging/winbond/wbhal_s.h
@@ -1,3 +1,10 @@
+#ifndef __WINBOND_WBHAL_S_H
+#define __WINBOND_WBHAL_S_H
+
+#include <linux/types.h>
+
+#include "linux/common.h"
+
//[20040722 WK]
#define HAL_LED_SET_MASK 0x001c //20060901 Extend
#define HAL_LED_SET_SHIFT 2
@@ -612,4 +619,4 @@ typedef struct _HAL_RATE
u32 NumRate54M;
} HAL_RATE, *PHAL_RATE;
-
+#endif