public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mtd: remove driver-core BUS_ID_SIZE
@ 2009-04-16 16:26 Kay Sievers
  2009-04-17  7:25 ` Artem Bityutskiy
  2009-05-29 13:11 ` David Woodhouse
  0 siblings, 2 replies; 8+ messages in thread
From: Kay Sievers @ 2009-04-16 16:26 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Greg Kroah-Hartman, linux-mtd

From: Kay Sievers <kay.sievers@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@infradead.org
Cc: linux-mtd@lists.infradead.org
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-06-02 15:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16 16:26 mtd: remove driver-core BUS_ID_SIZE Kay Sievers
2009-04-17  7:25 ` Artem Bityutskiy
2009-05-29 13:11 ` David Woodhouse
2009-05-29 13:21   ` David Woodhouse
2009-05-29 13:25     ` Kay Sievers
2009-05-29 13:33       ` David Woodhouse
2009-05-29 15:52         ` Atsushi Nemoto
2009-06-02 15:09         ` Atsushi Nemoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox