]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/nand/h1910.c
[MTD] Fix module refcounting in NAND board drivers.
[linux-2.6-omap-h63xx.git] / drivers / mtd / nand / h1910.c
index efa53a9adf233bade29fcdcf9497bcefe6561f81..b47a15c23d1c5a33ea1d18b4e4065245a6f7b79c 100644 (file)
@@ -135,6 +135,7 @@ static int __init h1910_init(void)
 
        /* Link the private data with the MTD structure */
        h1910_nand_mtd->priv = this;
+       h1910_nand_mtd->owner = THIS_MODULE;
 
        /*
         * Enable VPEN