projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
video: rockchip: lcdc: 3288: update CABC lut addr
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mtd
/
nftlcore.c
diff --git
a/drivers/mtd/nftlcore.c
b/drivers/mtd/nftlcore.c
index a75382aff5f68d17f419307b70eb4427f7c07507..c5f4ebf4b384404a47df44ec843046e6bb243b44 100644
(file)
--- a/
drivers/mtd/nftlcore.c
+++ b/
drivers/mtd/nftlcore.c
@@
-56,13
+56,6
@@
static void nftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
if (memcmp(mtd->name, "DiskOnChip", 10))
return;
if (memcmp(mtd->name, "DiskOnChip", 10))
return;
- if (!mtd_can_have_bb(mtd)) {
- printk(KERN_ERR
-"NFTL no longer supports the old DiskOnChip drivers loaded via docprobe.\n"
-"Please use the new diskonchip driver under the NAND subsystem.\n");
- return;
- }
-
pr_debug("NFTL: add_mtd for %s\n", mtd->name);
nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL);
pr_debug("NFTL: add_mtd for %s\n", mtd->name);
nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL);