From patchwork Thu Apr 16 16:26:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: mtd: remove driver-core BUS_ID_SIZE Date: Thu, 16 Apr 2009 06:26:36 -0000 From: Kay Sievers X-Patchwork-Id: 26075 Message-Id: <1239899196.17211.11.camel@poy> To: David Woodhouse Cc: Greg Kroah-Hartman , linux-mtd From: Kay Sievers 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@infradead.org Cc: linux-mtd@lists.infradead.org Acked-by: Greg Kroah-Hartman Signed-off-by: Kay Sievers --- 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