projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/drivers/mtd/sm_ftl.c
b/drivers/mtd/sm_ftl.c
index 072ed5970e2f3dacf5a1e5d654a9f9b54183d8e3..9e2dfd517aa51c68e15e80d864d1a12f80c1fbe8 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,