diff options
author | Dong Aisheng <b29396@freescale.com> | 2015-03-24 16:02:34 +0800 |
---|---|---|
committer | Dong Aisheng <b29396@freescale.com> | 2015-06-08 11:32:01 +0800 |
commit | 0ae5c2480431dcea091cf9471b9e3b17b1774716 (patch) | |
tree | b8d6c254b0928b97e4aa5139ecb83ebabf23cb5a /drivers/net | |
parent | adb5c4679eef30af100ec3379530bb07f8ea4fa8 (diff) |
MLK-11065-8 bcmdhd: fixed build errors with 3.9.2 toolchain
CC [M] drivers/net/wireless/bcmdhd/dhd_ip.o
LD [M] fs/udf/udf.o
drivers/net/wireless/bcmdhd/dhd_common.c:108:22: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
DHD_COMPILED " on " __DATE__ " at " __TIME__;
^
drivers/net/wireless/bcmdhd/dhd_common.c:108:38: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
DHD_COMPILED " on " __DATE__ " at " __TIME__;
Drop debug version with build date/time.
The kernel already has this information, and individual drivers
shouldn't duplicate that. This also eliminates the use of __DATE__ and
__TIME__, which make the build non-deterministic.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/bcmdhd/dhd_common.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/bcmdhd/dhd_common.c b/drivers/net/wireless/bcmdhd/dhd_common.c index c57874c67b8e..31ccb49c64ca 100644 --- a/drivers/net/wireless/bcmdhd/dhd_common.c +++ b/drivers/net/wireless/bcmdhd/dhd_common.c @@ -103,12 +103,7 @@ bool ap_fw_loaded = FALSE; #define DHD_COMPILED "\nCompiled in " SRCBASE #endif /* DHD_DEBUG */ -#if defined(DHD_DEBUG) -const char dhd_version[] = "Dongle Host Driver, version " EPI_VERSION_STR - DHD_COMPILED " on " __DATE__ " at " __TIME__; -#else const char dhd_version[] = "\nDongle Host Driver, version " EPI_VERSION_STR "\nCompiled from "; -#endif void dhd_set_timer(void *bus, uint wdtick); |