broadcom_wl: eliminate compiler error with gcc-4.9-linaro
[openwrt.git] / package / kernel / broadcom-wl / patches / 914-eliminate-date-time-error.patch
1 --- a/driver/wl_linux.c
2 +++ b/driver/wl_linux.c
3 @@ -762,7 +762,7 @@ wl_attach(uint16 vendor, uint16 device,
4                 dev->name, device);
5  
6  #ifdef BCMDBG
7 -       printf(" (Compiled in " SRCBASE " at " __TIME__ " on " __DATE__ ")");
8 +       printf(" (Compiled in " SRCBASE ")");
9  #endif /* BCMDBG */
10         printf("\n");
11  
12 @@ -2298,8 +2298,7 @@ wl_sendup(wl_info_t *wl, wl_if_t *wlif,
13  void
14  wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b)
15  {
16 -       bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit,
17 -               __DATE__, __TIME__, EPI_VERSION_STR);
18 +       bcm_bprintf(b, "wl%d: version %s\n", wl->pub->unit, EPI_VERSION_STR);
19  }
20  
21  #ifdef BCMDBG