staging: android: ion: Add ioctl to query available heaps
[cascardo/linux.git] / drivers / staging / android / ion / ion_priv.h
index 4a78fab..3c3b324 100644 (file)
@@ -102,6 +102,7 @@ struct ion_device {
        struct dentry *debug_root;
        struct dentry *heaps_debug_root;
        struct dentry *clients_debug_root;
+       int heap_cnt;
 };
 
 /**
@@ -467,4 +468,6 @@ struct ion_handle *ion_handle_get_by_id(struct ion_client *client,
 
 int ion_handle_put(struct ion_handle *handle);
 
+int ion_query_heaps(struct ion_client *client, struct ion_heap_query *query);
+
 #endif /* _ION_PRIV_H */