generic: backport a fix for the input keymap-matrix module
[openwrt.git] / target / linux / generic / patches-3.6 / 478-mtd-partial_eraseblock_unlock.patch
index d60a428f0947d2d26f3c831b7898c53c1d2c45da..0fc4154fa6279d74625d729d7c0f06898c149f2e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/mtdpart.c
 +++ b/drivers/mtd/mtdpart.c
-@@ -356,7 +356,14 @@ static int part_unlock(struct mtd_info *
+@@ -330,7 +330,14 @@ static int part_lock(struct mtd_info *mt
  static int part_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
  {
        struct mtd_part *part = PART(mtd);