]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: Avoid build error with make W=1
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 23 Nov 2017 15:57:04 +0000 (17:57 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Dec 2017 13:48:54 +0000 (15:48 +0200)
commit8d5206f4e5c3e86bc57255c667384a29f6b2e379
treecd7cb20b48abbc9deb94d0a2b3da8b3be82d2c1f
parent56a7174905f6497e7680aea6d1338048aac91e72
brcmfmac: Avoid build error with make W=1

When I run make W=1 on gcc (Debian 7.2.0-16) 7.2.0 I got an error for
the first run, all next ones are okay.

  CC [M]  drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.o
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2078: error: Cannot parse struct or union!
scripts/Makefile.build:310: recipe for target 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.o' failed

Seems like something happened with W=1 and wrong kernel doc format.
As a quick fix remove dubious /** in the code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c