[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>
parent
0d4e30d2
Please register or sign in to comment