From patchwork Thu Apr 16 16:26:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kay Sievers X-Patchwork-Id: 26075 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 96C01B6F35 for ; Fri, 17 Apr 2009 02:31:13 +1000 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1LuUQS-0001L4-Qw; Thu, 16 Apr 2009 16:26:56 +0000 Received: from mail-fx0-f166.google.com ([209.85.220.166]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1LuUQG-00015e-Fc for linux-mtd@lists.infradead.org; Thu, 16 Apr 2009 16:26:54 +0000 Received: by fxm10 with SMTP id 10so589013fxm.18 for ; Thu, 16 Apr 2009 09:26:40 -0700 (PDT) Received: by 10.204.64.196 with SMTP id f4mr1417025bki.151.1239899200091; Thu, 16 Apr 2009 09:26:40 -0700 (PDT) Received: from ?192.168.178.32? (e179194157.adsl.alicedsl.de [85.179.194.157]) by mx.google.com with ESMTPS id b17sm1709371fka.4.2009.04.16.09.26.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 16 Apr 2009 09:26:39 -0700 (PDT) Subject: mtd: remove driver-core BUS_ID_SIZE From: Kay Sievers To: David Woodhouse Date: Thu, 16 Apr 2009 18:26:36 +0200 Message-Id: <1239899196.17211.11.camel@poy> Mime-Version: 1.0 X-Mailer: Evolution 2.26.0 X-Spam-Score: 0.0 (/) Cc: Greg Kroah-Hartman , linux-mtd X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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