aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/ubi/eba.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c
index 1297732f4db9..880fa3690352 100644
--- a/drivers/mtd/ubi/eba.c
+++ b/drivers/mtd/ubi/eba.c
@@ -933,8 +933,7 @@ write_error:
933 * @cache: the lock tree entry slab cache 933 * @cache: the lock tree entry slab cache
934 * @flags: constructor flags 934 * @flags: constructor flags
935 */ 935 */
936static void ltree_entry_ctor(void *obj, struct kmem_cache *cache, 936static void ltree_entry_ctor(struct kmem_cache *cache, void *obj)
937 unsigned long flags)
938{ 937{
939 struct ltree_entry *le = obj; 938 struct ltree_entry *le = obj;
940 939