mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 09:16:41 +09:00
mtd: sm_ftl: fix typo in major number.
commit 452380efbd upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
888cc3675b
commit
b640f4eb78
@@ -1256,7 +1256,7 @@ static void sm_remove_dev(struct mtd_blktrans_dev *dev)
|
||||
|
||||
static struct mtd_blktrans_ops sm_ftl_ops = {
|
||||
.name = "smblk",
|
||||
.major = -1,
|
||||
.major = 0,
|
||||
.part_bits = SM_FTL_PARTN_BITS,
|
||||
.blksize = SM_SECTOR_SIZE,
|
||||
.getgeo = sm_getgeo,
|
||||
|
||||
Reference in New Issue
Block a user