mtd: Fix handling of mtdname in txx9ndfmc.c
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 29 May 2009 13:26:23 +0000 (14:26 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 29 May 2009 13:32:39 +0000 (14:32 +0100)
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 <David.Woodhouse@intel.com>

No differences found