From: Andrew Morton WARNING: "module_text_address" [drivers/mtd/nand/nand.ko] undefined! gawd knows. Looks like a late-night brainfart. Kill. Cc: David Woodhouse Signed-off-by: Andrew Morton --- dev/null | 0 drivers/mtd/nand/nand_base.c | 10 ---------- 2 files changed, 10 deletions(-) diff -L mtd/nand/nand_base.c -puN /dev/null /dev/null diff -puN drivers/mtd/nand/nand_base.c~nand_base-modular-fix drivers/mtd/nand/nand_base.c --- devel/drivers/mtd/nand/nand_base.c~nand_base-modular-fix 2006-05-14 06:52:39.000000000 -0700 +++ devel-akpm/drivers/mtd/nand/nand_base.c 2006-05-14 06:52:55.000000000 -0700 @@ -2330,16 +2330,6 @@ int nand_scan(struct mtd_info *mtd, int int i, nand_maf_id, nand_dev_id, busw, maf_id; struct nand_chip *this = mtd->priv; - /* module_text_address() isn't exported. But if _this_ is a module, - it's a fairly safe bet that its caller is a module too... and - that means the call to module_text_address() gets optimised out - without having to resort to ifdefs */ - if (!mtd->owner && (THIS_MODULE || - module_text_address((unsigned long)__builtin_return_address(0)))) { - printk(KERN_CRIT "nand_scan() called with NULL mtd->owner!\n"); - BUG(); - } - /* Get buswidth to select the correct functions */ busw = this->options & NAND_BUSWIDTH_16; _