Commit efd89a22 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: brcm80211: remove driver specific -W options

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 449c6741
...@@ -27,11 +27,7 @@ ccflags-y := \ ...@@ -27,11 +27,7 @@ ccflags-y := \
-Idrivers/staging/brcm80211/sys \ -Idrivers/staging/brcm80211/sys \
-Idrivers/staging/brcm80211/phy \ -Idrivers/staging/brcm80211/phy \
-Idrivers/staging/brcm80211/util \ -Idrivers/staging/brcm80211/util \
-Idrivers/staging/brcm80211/include \ -Idrivers/staging/brcm80211/include
-Wall \
-Wstrict-prototypes \
-Werror \
-Wmissing-prototypes
PCI_CFLAGS := -DWLC_LOW PCI_CFLAGS := -DWLC_LOW
......
...@@ -36,9 +36,6 @@ ccflags-y := \ ...@@ -36,9 +36,6 @@ ccflags-y := \
-DDHD_GPL \ -DDHD_GPL \
-DBCMLXSDMMC \ -DBCMLXSDMMC \
-DBCMPLATFORM_BUS \ -DBCMPLATFORM_BUS \
-Wall \
-Wstrict-prototypes \
-Werror \
-DOEM_CHROMIUMOS \ -DOEM_CHROMIUMOS \
-DEMBEDDED_PLATFORM \ -DEMBEDDED_PLATFORM \
-DARP_OFFLOAD_SUPPORT \ -DARP_OFFLOAD_SUPPORT \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment