summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-01-04 18:19:53 +0000
committerdim <dim@FreeBSD.org>2014-01-04 18:19:53 +0000
commit83ddc49dd1f7e1bf2b7778b9cf3cd547d5eb5fe0 (patch)
treef7088d96fa43239b8351ed05de73ce4cb91e2d82
parentd67626df70f55aa13b6779a964ff0c46d7a60e35 (diff)
downloadFreeBSD-src-83ddc49dd1f7e1bf2b7778b9cf3cd547d5eb5fe0.zip
FreeBSD-src-83ddc49dd1f7e1bf2b7778b9cf3cd547d5eb5fe0.tar.gz
MFC r260025:
Disable warning about unused functions for ar9300_reset.c for now.
-rw-r--r--sys/conf/files2
-rw-r--r--sys/modules/ath/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 80ce9ca..0048d9d 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1045,7 +1045,7 @@ contrib/dev/ath/ath_hal/ar9300/ar9300_recv.c optional ath_hal | ath_ar9300 \
contrib/dev/ath/ath_hal/ar9300/ar9300_recv_ds.c optional ath_hal | ath_ar9300 \
compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal"
contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c optional ath_hal | ath_ar9300 \
- compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal ${NO_WSOMETIMES_UNINITIALIZED}"
+ compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal ${NO_WSOMETIMES_UNINITIALIZED} -Wno-unused-function"
contrib/dev/ath/ath_hal/ar9300/ar9300_stub.c optional ath_hal | ath_ar9300 \
compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal"
contrib/dev/ath/ath_hal/ar9300/ar9300_stub_funcs.c optional ath_hal | ath_ar9300 \
diff --git a/sys/modules/ath/Makefile b/sys/modules/ath/Makefile
index 7198a53..33a1650 100644
--- a/sys/modules/ath/Makefile
+++ b/sys/modules/ath/Makefile
@@ -166,4 +166,4 @@ CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
# AR9300 HAL build overrides, as there's still some code to tidy up
CWARNFLAGS.ar9300_eeprom.c= ${NO_WCONSTANT_CONVERSION}
-CWARNFLAGS.ar9300_reset.c= ${NO_WSOMETIMES_UNINITIALIZED}
+CWARNFLAGS.ar9300_reset.c= ${NO_WSOMETIMES_UNINITIALIZED} -Wno-unused-function
OpenPOWER on IntegriCloud