brcmfmac: include linux/atomic.h
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Sep 2015 10:47:20 +0000 (12:47 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2015 07:58:07 +0000 (10:58 +0300)
brcmfmac uses atomic_or() and other atomic_* functions, but does not
include linux/atomic.h. This file gets included by some other header
file so this normally does not cause problems.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/sdio.c

index e41bf441410b3ec09f8dd9cf7f64ce0a5ea76a3c..7f574f26cdef657a3c243acb7f1f5e301da9cce3 100644 (file)
@@ -15,6 +15,7 @@
  */
 
 #include <linux/types.h>
+#include <linux/atomic.h>
 #include <linux/kernel.h>
 #include <linux/kthread.h>
 #include <linux/printk.h>