summaryrefslogtreecommitdiff
path: root/include/linux/zbud.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/zbud.h')
-rw-r--r--include/linux/zbud.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/zbud.h b/include/linux/zbud.h
index f9d41a6e3..e183a0a65 100644
--- a/include/linux/zbud.h
+++ b/include/linux/zbud.h
@@ -9,7 +9,7 @@ struct zbud_ops {
int (*evict)(struct zbud_pool *pool, unsigned long handle);
};
-struct zbud_pool *zbud_create_pool(gfp_t gfp, struct zbud_ops *ops);
+struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops);
void zbud_destroy_pool(struct zbud_pool *pool);
int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp,
unsigned long *handle);