[MTD] Fix module refcounting in NAND board drivers.
[deliverable/linux.git] / drivers / mtd / nand / sharpsl.c
index 25322a8d44d85f7e59e8d7eb48c607d8076482be..d375cb3e77d699e1481f0e1057c1e56d2cae222f 100644 (file)
@@ -185,6 +185,7 @@ int __init sharpsl_nand_init(void)
 
        /* Link the private data with the MTD structure */
        sharpsl_mtd->priv = this;
+       sharpsl_mtd->owner = THIS_MODULE;
 
        /*
         * PXA initialize
This page took 0.02369 seconds and 5 git commands to generate.