summaryrefslogtreecommitdiff
path: root/drivers/char/ps3flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ps3flash.c')
-rw-r--r--drivers/char/ps3flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ps3flash.c b/drivers/char/ps3flash.c
index 5892d2b1cb72..c73f443077a4 100644
--- a/drivers/char/ps3flash.c
+++ b/drivers/char/ps3flash.c
@@ -361,7 +361,7 @@ static int ps3flash_probe(struct ps3_system_bus_device *_dev)
ps3flash_dev = dev;
- priv = kzalloc_obj(*priv, GFP_KERNEL);
+ priv = kzalloc_obj(*priv);
if (!priv) {
error = -ENOMEM;
goto fail;