commit | 81933046ef2a615031c46171013bde2c5225ee69 | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Fri May 29 14:26:23 2009 +0100 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri May 29 14:32:39 2009 +0100 |
tree | 98948086a1713cf0ce57162d53d77a3724e87874 | |
parent | 9fd1e8f92ad17b3bc94245fee9b4e4bfea0dba0e [diff] |
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 <David.Woodhouse@intel.com>