staging: brcm80211: remove unnecessary cflag, LINUX
authornohee ko <noheek@broadcom.com>
Sat, 9 Oct 2010 17:41:05 +0000 (10:41 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 9 Oct 2010 20:49:43 +0000 (13:49 -0700)
remove unnecessary cflag, LINUX

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/Makefile
drivers/staging/brcm80211/brcmfmac/dhd.h

index 8f8cfe23c05b6c968fecf5b7d5c1e041e8883f5a..76f2d8b37e45b670f5ec9f603086c0290bf1a223 100644 (file)
@@ -28,7 +28,6 @@ ccflags-y :=                  \
        -DDHD_SCHED             \
        -DDHD_SDALIGN=64        \
        -DEMBEDDED_PLATFORM     \
-       -DLINUX                 \
        -DMAX_HDR_READ=64       \
        -DMMC_SDIO_ABORT        \
        -DPKT_FILTER_SUPPORT    \
index 332e99e500afed60a2b613acd4de74446dfee4c2..04c71345cfb639222fbeb3e987c023c565d55902 100644 (file)
@@ -21,7 +21,6 @@
 #ifndef _dhd_h_
 #define _dhd_h_
 
-#if defined(LINUX)
 #include <linux/sched.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/wakelock.h>
 #endif                 /* defined (CONFIG_HAS_WAKELOCK) */
 /* The kernel threading is sdio-specific */
-#else                          /* LINUX */
-#define ENOMEM         1
-#define EFAULT      2
-#define EINVAL         3
-#define EIO                    4
-#define ETIMEDOUT      5
-#define ERESTARTSYS 6
-#endif                         /* LINUX */
 
 #include <wlioctl.h>