git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MTD] Fix module refcounting in NAND board drivers.
[pandora-kernel.git]
/
drivers
/
mtd
/
nand
/
ppchameleonevb.c
diff --git
a/drivers/mtd/nand/ppchameleonevb.c
b/drivers/mtd/nand/ppchameleonevb.c
index
405beec
..
5d4d16f
100644
(file)
--- a/
drivers/mtd/nand/ppchameleonevb.c
+++ b/
drivers/mtd/nand/ppchameleonevb.c
@@
-221,6
+221,7
@@
static int __init ppchameleonevb_init(void)
/* Link the private data with the MTD structure */
ppchameleon_mtd->priv = this;
+ ppchameleon_mtd->owner = THIS_MODULE;
/* Initialize GPIOs */
/* Pin mapping for NAND chip */