]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/mtdcore.c
bdi: Drop 'parent' argument from bdi_register[_va]()
[karo-tx-linux.git] / drivers / mtd / mtdcore.c
index 23e2e56ca54e46d47c9747b7d0adf4ef87fafca2..1517da3ddd7d0b9752f8b7d4ebea8aaa3a6ae298 100644 (file)
@@ -1782,7 +1782,7 @@ static struct backing_dev_info * __init mtd_bdi_init(char *name)
         * We put '-0' suffix to the name to get the same name format as we
         * used to get. Since this is called only once, we get a unique name. 
         */
-       ret = bdi_register(bdi, NULL, "%.28s-0", name);
+       ret = bdi_register(bdi, "%.28s-0", name);
        if (ret)
                bdi_put(bdi);