projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: do not use plain 0 as NULL
[deliverable/linux.git]
/
drivers
/
mtd
/
devices
/
spear_smi.c
diff --git
a/drivers/mtd/devices/spear_smi.c
b/drivers/mtd/devices/spear_smi.c
index f45dd37b771ec134540795ee523166bda7f66bb5..f2016b5f59b60d551a9b888b06e5ea08cd49748b 100644
(file)
--- a/
drivers/mtd/devices/spear_smi.c
+++ b/
drivers/mtd/devices/spear_smi.c
@@
-851,7
+851,7
@@
static int spear_smi_setup_banks(struct platform_device *pdev, u32 bank)
goto err_map;
}
}
- ret = mtd_device_parse_register(&flash->mtd, NULL,
0
, parts, count);
+ ret = mtd_device_parse_register(&flash->mtd, NULL,
NULL
, parts, count);
if (ret)
dev_err(&dev->pdev->dev, "Err MTD partition=%d\n", ret);
This page took
0.023745 seconds
and
5
git commands to generate.