]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: sm_ftl: fix typo in major number.
authorMaxim Levitsky <maximlevitsky@gmail.com>
Sat, 17 Mar 2012 18:16:53 +0000 (20:16 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 27 Mar 2012 00:01:26 +0000 (01:01 +0100)
commit452380efbd72d8d41f53ea64c8a6ea1fedc4394d
tree8e168ce71d09a2de1719f98e86195a44f63cfae2
parent6551ab5d30d6bf0cea0c6cb294686ce3c7fc6042
mtd: sm_ftl: fix typo in major number.

major == 0 allocates dynamic major, not major == -1

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/sm_ftl.c