]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Staging: w35und: fix config build warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jan 2009 18:46:00 +0000 (10:46 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 21:51:52 +0000 (13:51 -0800)
the wireless config function has changed with commit
e8975581f63870be42ff4662b293d1b0c8c21350 so fix up the wbusb driver to
work properly with that change.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/wbusb.c

index cb4dee566f7f071d882a44fb26931bce86555d3a..b003f9a7e1518b58f62ec83787a529652481a1f9 100644 (file)
@@ -134,11 +134,12 @@ static int wbsoft_start(struct ieee80211_hw *dev)
        return 0;
 }
 
-static int wbsoft_config(struct ieee80211_hw *dev, struct ieee80211_conf *conf)
+static int wbsoft_config(struct ieee80211_hw *dev, u32 changed)
 {
        struct wbsoft_priv *priv = dev->priv;
-
+       struct ieee80211_conf *conf = &dev->conf;
        ChanInfo ch;
+
        printk("wbsoft_config called\n");
 
        ch.band = 1;