projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6551ab5
)
mtd: sm_ftl: fix typo in major number.
author
Maxim Levitsky
<maximlevitsky@gmail.com>
Sat, 17 Mar 2012 18:16:53 +0000
(20:16 +0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 27 Mar 2012 00:01:26 +0000
(
01:01
+0100)
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
patch
|
blob
|
history
diff --git
a/drivers/mtd/sm_ftl.c
b/drivers/mtd/sm_ftl.c
index
072ed59
..
9e2dfd5
100644
(file)
--- a/
drivers/mtd/sm_ftl.c
+++ b/
drivers/mtd/sm_ftl.c
@@
-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,