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]
/
arch
/
mips
/
cavium-octeon
/
flash_setup.c
diff --git
a/arch/mips/cavium-octeon/flash_setup.c
b/arch/mips/cavium-octeon/flash_setup.c
index 0a430e06f5e5e11f3989265a1f49336d1b10abee..e44a55bc7f0dc13c5901a47ddfb00c5c6ed8f6d5 100644
(file)
--- a/
arch/mips/cavium-octeon/flash_setup.c
+++ b/
arch/mips/cavium-octeon/flash_setup.c
@@
-60,7
+60,7
@@
static int __init flash_init(void)
if (mymtd) {
mymtd->owner = THIS_MODULE;
mtd_device_parse_register(mymtd, part_probe_types,
-
0
, NULL, 0);
+
NULL
, NULL, 0);
} else {
pr_err("Failed to register MTD device for flash\n");
}
This page took
0.026005 seconds
and
5
git commands to generate.