]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/mtd/maps/h720x-flash.c
mtd: do not use plain 0 as NULL
[mirror_ubuntu-artful-kernel.git] / drivers / mtd / maps / h720x-flash.c
index 49c14187fc66dc0e469f071db2971d2c0ca4be10..8ed6cb4529d82996b4981d9cff366b55673cb88b 100644 (file)
@@ -85,8 +85,8 @@ static int __init h720x_mtd_init(void)
        if (mymtd) {
                mymtd->owner = THIS_MODULE;
 
-               mtd_device_parse_register(mymtd, NULL, 0,
-                               h720x_partitions, NUM_PARTITIONS);
+               mtd_device_parse_register(mymtd, NULL, NULL,
+                                         h720x_partitions, NUM_PARTITIONS);
                return 0;
        }