From: David Woodhouse Date: Fri, 29 May 2009 13:26:23 +0000 (+0100) Subject: mtd: Fix handling of mtdname in txx9ndfmc.c X-Git-Tag: v2.6.31-rc1~53^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81933046ef2a615031c46171013bde2c5225ee69;p=pandora-kernel.git mtd: Fix handling of mtdname in txx9ndfmc.c As pointed out by Kay Sievers, the name size limit is gone from the driver-core, and BUS_ID_SIZE is obsolescent. Rather than just papering over the problem by replacing the mtdname array size with an arbitrary '20 + 2', fix the problem properly and handle arbitrary name sizes. Signed-off-by: David Woodhouse --- Reading git-diff-tree failed