diff options
Diffstat (limited to 'drivers/block/zram/zcomp.h')
-rw-r--r-- | drivers/block/zram/zcomp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/zram/zcomp.h b/drivers/block/zram/zcomp.h index 2a3684446160..bd11d59c5dd1 100644 --- a/drivers/block/zram/zcomp.h +++ b/drivers/block/zram/zcomp.h | |||
@@ -46,6 +46,7 @@ struct zcomp { | |||
46 | 46 | ||
47 | struct zcomp_strm *(*strm_find)(struct zcomp *comp); | 47 | struct zcomp_strm *(*strm_find)(struct zcomp *comp); |
48 | void (*strm_release)(struct zcomp *comp, struct zcomp_strm *zstrm); | 48 | void (*strm_release)(struct zcomp *comp, struct zcomp_strm *zstrm); |
49 | int (*set_max_streams)(struct zcomp *comp, int num_strm); | ||
49 | void (*destroy)(struct zcomp *comp); | 50 | void (*destroy)(struct zcomp *comp); |
50 | }; | 51 | }; |
51 | 52 | ||
@@ -60,4 +61,6 @@ int zcomp_compress(struct zcomp *comp, struct zcomp_strm *zstrm, | |||
60 | 61 | ||
61 | int zcomp_decompress(struct zcomp *comp, const unsigned char *src, | 62 | int zcomp_decompress(struct zcomp *comp, const unsigned char *src, |
62 | size_t src_len, unsigned char *dst); | 63 | size_t src_len, unsigned char *dst); |
64 | |||
65 | int zcomp_set_max_streams(struct zcomp *comp, int num_strm); | ||
63 | #endif /* _ZCOMP_H_ */ | 66 | #endif /* _ZCOMP_H_ */ |