]> git.pld-linux.org Git - packages/rtl8812au.git/blame - gcc-4.9.patch
- rel 1
[packages/rtl8812au.git] / gcc-4.9.patch
CommitLineData
6738afaf
JR
1diff -ur -x '*~' rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_debug.c rtl8812AU_linux_v5.1.5_19247.20160830-gcc/core/rtw_debug.c
2--- rtl8812AU_linux_v5.1.5_19247.20160830/core/rtw_debug.c 2016-08-30 04:28:15.000000000 +0200
3+++ rtl8812AU_linux_v5.1.5_19247.20160830-gcc/core/rtw_debug.c 2017-10-10 21:57:47.919763413 +0200
4@@ -46,8 +46,15 @@
c2800a01
JR
5
6 void dump_drv_version(void *sel)
7 {
8+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
9+#pragma GCC diagnostic push
10+#pragma GCC diagnostic ignored "-Wdate-time"
11+#endif
6738afaf
JR
12 RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
13 RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
c2800a01
JR
14+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
15+#pragma GCC diagnostic pop
16+#endif
17 }
18
6738afaf 19 void dump_drv_cfg(void *sel)
This page took 0.025182 seconds and 4 git commands to generate.