diff mbox

brcmfmac: include linux/atomic.h

Message ID 1442659640-11835-1-git-send-email-hauke@hauke-m.de (mailing list archive)
State Accepted
Delegated to: Kalle Valo
Headers show

Commit Message

Hauke Mehrtens Sept. 19, 2015, 10:47 a.m. UTC
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>
---
 drivers/net/wireless/brcm80211/brcmfmac/sdio.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Arend van Spriel Sept. 19, 2015, 2:25 p.m. UTC | #1
On 09/19/2015 12:47 PM, Hauke Mehrtens wrote:
> 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.

Thanks, Hauke

Acked-by: Arend van Spriel <arend@broadcom.com>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
> ---
>   drivers/net/wireless/brcm80211/brcmfmac/sdio.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/wireless/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
> index f990e3d..ea9150b 100644
> --- a/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
> +++ b/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
> @@ -15,6 +15,7 @@
>    */
>
>   #include <linux/types.h>
> +#include <linux/atomic.h>
>   #include <linux/kernel.h>
>   #include <linux/kthread.h>
>   #include <linux/printk.h>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kalle Valo Sept. 29, 2015, 7:58 a.m. UTC | #2
> 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>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/wireless/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
index f990e3d..ea9150b 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
@@ -15,6 +15,7 @@ 
  */
 
 #include <linux/types.h>
+#include <linux/atomic.h>
 #include <linux/kernel.h>
 #include <linux/kthread.h>
 #include <linux/printk.h>