summaryrefslogtreecommitdiff
path: root/drivers/bcma/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bcma/scan.c')
-rw-r--r--drivers/bcma/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bcma/scan.c b/drivers/bcma/scan.c
index 5e77d570767c..84742408a59c 100644
--- a/drivers/bcma/scan.c
+++ b/drivers/bcma/scan.c
@@ -479,7 +479,7 @@ int bcma_bus_scan(struct bcma_bus *bus)
while (eromptr < eromend) {
struct bcma_device *other_core;
- struct bcma_device *core = kzalloc_obj(*core, GFP_KERNEL);
+ struct bcma_device *core = kzalloc_obj(*core);
if (!core) {
err = -ENOMEM;
goto out;