mac80211: brcmsmac: fix a build warning, till we update bcma

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30644 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Hauke Mehrtens 2012-02-19 14:21:21 +00:00
parent 50878d446a
commit 2f78e4449f
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Remove this patch when we get a new version of bcma into our kernel.
--- a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
@@ -1129,7 +1129,7 @@ static int __devinit brcms_bcma_probe(st
return 0;
}
-static int brcms_suspend(struct bcma_device *pdev)
+static int brcms_suspend(struct bcma_device *pdev, pm_message_t state)
{
struct brcms_info *wl;
struct ieee80211_hw *hw;