mtd: remove driver-core BUS_ID_SIZE
Kay Sievers
kay.sievers at vrfy.org
Thu Apr 16 12:26:36 EDT 2009
From: Kay Sievers <kay.sievers at vrfy.org>
Subject: mtd: remove driver-core BUS_ID_SIZE
The name size limit is gone from the driver-core, the BUS_ID_SIZE
value will be removed.
Cc: dwmw2 at infradead.org
Cc: linux-mtd at lists.infradead.org
Acked-by: Greg Kroah-Hartman <gregkh at suse.de>
Signed-off-by: Kay Sievers <kay.sievers at vrfy.org>
---
drivers/mtd/nand/txx9ndfmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/mtd/nand/txx9ndfmc.c
+++ b/drivers/mtd/nand/txx9ndfmc.c
@@ -64,7 +64,7 @@ struct txx9ndfmc_priv {
struct nand_chip chip;
struct mtd_info mtd;
int cs;
- char mtdname[BUS_ID_SIZE + 2];
+ char mtdname[20 + 2];
};
#define MAX_TXX9NDFMC_DEV 4
More information about the linux-mtd
mailing list