staging: brcm80211: revert removal of atomic initialization
authorFranky Lin <frankyl@broadcom.com>
Mon, 8 Aug 2011 13:58:46 +0000 (15:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:00:08 +0000 (13:00 -0700)
commita4a94142131676c34f53b45d2d601d8a6094492f
tree3518252d73131345036850f791261d17cacc328c
parent50206949c3ead36f21f38d26fc20122bc40779d6
staging: brcm80211: revert removal of atomic initialization

The commit "staging: brcm80211: remove code for unsupported chip"
unintentionally got rid of initialization of the atomic variable
brcmf_mmc_suspend. The patch restore that particular piece of code.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c