mtdchar: Register the full range of minor numbers
commitdad0db318b391ddb9845ac5e52044f921219bf69
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 29 Jan 2010 21:00:04 +0000 (29 21:00 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 25 Feb 2010 12:46:04 +0000 (25 12:46 +0000)
tree8b0ae649a53bc916ab74e57a47bbcd99804dde11
parent4d3a8534bdbcf4843fc8ad05c9a81a964fc65237
mtdchar: Register the full range of minor numbers

register_chrdev() registers minor numbers up to 255, but we can now
potentially have much larger numbers.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdchar.c