diff options
Diffstat (limited to 'drivers/net/wireless/airport.c')
-rw-r--r-- | drivers/net/wireless/airport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/airport.c b/drivers/net/wireless/airport.c index 6f7eb9f59223..ce03a2e865fa 100644 --- a/drivers/net/wireless/airport.c +++ b/drivers/net/wireless/airport.c | |||
@@ -180,7 +180,8 @@ airport_attach(struct macio_dev *mdev, const struct of_device_id *match) | |||
180 | } | 180 | } |
181 | 181 | ||
182 | /* Allocate space for private device-specific data */ | 182 | /* Allocate space for private device-specific data */ |
183 | dev = alloc_orinocodev(sizeof(*card), airport_hard_reset); | 183 | dev = alloc_orinocodev(sizeof(*card), &mdev->ofdev.dev, |
184 | airport_hard_reset, NULL); | ||
184 | if (! dev) { | 185 | if (! dev) { |
185 | printk(KERN_ERR PFX "Cannot allocate network device\n"); | 186 | printk(KERN_ERR PFX "Cannot allocate network device\n"); |
186 | return -ENODEV; | 187 | return -ENODEV; |