mtd: remove driver-core BUS_ID_SIZE
Artem Bityutskiy
dedekind at infradead.org
Fri Apr 17 03:25:48 EDT 2009
On Thu, 2009-04-16 at 18:26 +0200, Kay Sievers wrote:
> 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
Pushed, to l2-mtd-2.6.git. This does not guarantee anything,
it just mean I'll ping dwmw2 to pull from that tree.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list