From efd89a2204d4086de48673ff7e4d5f537e32e0a5 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 23 Sep 2010 16:36:06 -0700 Subject: [PATCH] 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 Cc: Nohee Ko Cc: jason Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/Makefile | 6 +----- drivers/staging/brcm80211/brcmfmac/Makefile | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/staging/brcm80211/Makefile b/drivers/staging/brcm80211/Makefile index 31922e338b6..68cbcbbc2e5 100644 --- a/drivers/staging/brcm80211/Makefile +++ b/drivers/staging/brcm80211/Makefile @@ -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 diff --git a/drivers/staging/brcm80211/brcmfmac/Makefile b/drivers/staging/brcm80211/brcmfmac/Makefile index b31f24d4369..09196e9789e 100644 --- a/drivers/staging/brcm80211/brcmfmac/Makefile +++ b/drivers/staging/brcm80211/brcmfmac/Makefile @@ -36,9 +36,6 @@ ccflags-y := \ -DDHD_GPL \ -DBCMLXSDMMC \ -DBCMPLATFORM_BUS \ - -Wall \ - -Wstrict-prototypes \ - -Werror \ -DOEM_CHROMIUMOS \ -DEMBEDDED_PLATFORM \ -DARP_OFFLOAD_SUPPORT \ -- 2.41.0