]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Staging: brcm80211: remove driver specific -W options
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Sep 2010 23:36:06 +0000 (16:36 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Sep 2010 23:36:06 +0000 (16:36 -0700)
A single driver shouldn't be overriding the kernel-wide -W options.
This removes them from the Makefile.

Bonus is that the code at least now will build on a 64bit platform.
Problem is that both drivers can't be built at the same time right now
or bad things happen when linking.

Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Cc: jason <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/Makefile
drivers/staging/brcm80211/brcmfmac/Makefile

index 31922e338b652d111f0980480123b1abb4c4460c..68cbcbbc2e5660e638350f5758c0ac9c24dcd70a 100644 (file)
@@ -27,11 +27,7 @@ ccflags-y :=                                 \
        -Idrivers/staging/brcm80211/sys         \
        -Idrivers/staging/brcm80211/phy         \
        -Idrivers/staging/brcm80211/util        \
-       -Idrivers/staging/brcm80211/include     \
-       -Wall                                   \
-       -Wstrict-prototypes                     \
-       -Werror                                 \
-       -Wmissing-prototypes
+       -Idrivers/staging/brcm80211/include
 
 PCI_CFLAGS := -DWLC_LOW
 
index b31f24d43693f1defa612b6fb7b470bf0aeb17c1..09196e9789e544bc53e0bf187e3e85cc6a077293 100644 (file)
@@ -36,9 +36,6 @@ ccflags-y :=                  \
        -DDHD_GPL               \
        -DBCMLXSDMMC            \
        -DBCMPLATFORM_BUS       \
-       -Wall                   \
-       -Wstrict-prototypes     \
-       -Werror                 \
        -DOEM_CHROMIUMOS        \
        -DEMBEDDED_PLATFORM     \
        -DARP_OFFLOAD_SUPPORT   \