Skip to content

Commit

Permalink
Staging: brcm80211: remove driver specific -W options
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Sep 23, 2010
1 parent 449c674 commit efd89a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 1 addition & 5 deletions drivers/staging/brcm80211/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/brcm80211/brcmfmac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ ccflags-y := \
-DDHD_GPL \
-DBCMLXSDMMC \
-DBCMPLATFORM_BUS \
-Wall \
-Wstrict-prototypes \
-Werror \
-DOEM_CHROMIUMOS \
-DEMBEDDED_PLATFORM \
-DARP_OFFLOAD_SUPPORT \
Expand Down

0 comments on commit efd89a2

Please sign in to comment.