]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/brcm80211/brcmsmac/bmac.c
staging: brcm80211: remove device id parameter from ai_attach()
[~andy/linux] / drivers / staging / brcm80211 / brcmsmac / bmac.c
index 68bf242dc99c57bab248c096682bddeade531d7e..448a5625a336d1a3b32c40c2257d073afdf73849 100644 (file)
@@ -610,7 +610,7 @@ int wlc_bmac_attach(struct wlc_info *wlc, u16 vendor, u16 device, uint unit,
         * Also initialize software state that depends on the particular hardware
         * we are running.
         */
-       wlc_hw->sih = ai_attach((uint) device, regsva, bustype, btparam,
+       wlc_hw->sih = ai_attach(regsva, bustype, btparam,
                                &wlc_hw->vars, &wlc_hw->vars_size);
        if (wlc_hw->sih == NULL) {
                wiphy_err(wiphy, "wl%d: wlc_bmac_attach: si_attach failed\n",