]> err.no Git - linux-2.6/commit
[MTD NAND] Modify check for modules registering NAND devices without ->owner
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 14 May 2006 15:54:39 +0000 (16:54 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 14 May 2006 15:54:39 +0000 (16:54 +0100)
commit52239da1b06ff445bf71d35e04d8ce74e4c6fe7b
treeb33fe34d8a641600fbddb8dda7f4706c70026346
parent0d4e30d26a279f1b6a008a233a6835ad2af571e4
[MTD NAND] Modify check for modules registering NAND devices without ->owner

Make it work even with compilers which lack the wit to notice that
THIS_MODULE is always non-NULL. Use #ifdef MODULE instead. It's only
a temporary debugging check anyway.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nand_base.c