mtd: docg3: off by one in doc_register_sysfs()
[firefly-linux-kernel-4.4.55.git] / mm / zsmalloc.c
index 089120429c1836e06c1d561d4fb85fe058d6f33a..f135b1b6fcdcab49aaf0845e078c6fc299b4b28b 100644 (file)
@@ -311,7 +311,8 @@ static void record_obj(unsigned long handle, unsigned long obj)
 
 #ifdef CONFIG_ZPOOL
 
-static void *zs_zpool_create(char *name, gfp_t gfp, struct zpool_ops *zpool_ops,
+static void *zs_zpool_create(char *name, gfp_t gfp,
+                            const struct zpool_ops *zpool_ops,
                             struct zpool *zpool)
 {
        return zs_create_pool(name, gfp);