From: Greg Kroah-Hartman Date: Thu, 23 Sep 2010 23:36:06 +0000 (-0700) Subject: Staging: brcm80211: remove driver specific -W options X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=efd89a2204d4086de48673ff7e4d5f537e32e0a5;p=openwrt%2Fstaging%2Fblogic.git 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 --- diff --git a/drivers/staging/brcm80211/Makefile b/drivers/staging/brcm80211/Makefile index 31922e338b65..68cbcbbc2e56 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 b31f24d43693..09196e9789e5 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 \