From: David Woodhouse Date: Sun, 14 May 2006 00:20:46 +0000 (+0100) Subject: [MTD] Fix module refcounting in NAND board drivers. X-Git-Tag: v2.6.18-rc1~1105^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=552d9205186428a1e2a49ed577bcbba9f777af37;p=pandora-kernel.git [MTD] Fix module refcounting in NAND board drivers. The _board_ driver needs to be mtd->owner, and it in turn pins the nand.ko module. Fix them all to actually do that, and fix nand.ko not to overwrite it -- and also to check that the caller sets it, if the caller is a module. Signed-off-by: David Woodhouse --- Reading git-diff-tree failed