aboutsummaryrefslogtreecommitdiff
path: root/drivers/cenalloc/cenalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cenalloc/cenalloc.h')
-rw-r--r--drivers/cenalloc/cenalloc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/cenalloc/cenalloc.h b/drivers/cenalloc/cenalloc.h
index c1d3a0e5ade8..6e2a13d5fe68 100644
--- a/drivers/cenalloc/cenalloc.h
+++ b/drivers/cenalloc/cenalloc.h
@@ -29,6 +29,7 @@
#include "uapi/cenalloc.h"
+#if 0
struct cenalloc_device;
/**
@@ -39,6 +40,7 @@ struct cenalloc_device;
* TODO: might need to have a better way of getting this device.
*/
const struct cenalloc_device *cenalloc_get_device(void);
+#endif
/**
* cenalloc_buffer_create:
@@ -55,8 +57,7 @@ const struct cenalloc_device *cenalloc_get_device(void);
* @flags: flags for the buffer, if any
*
*/
-struct dma_buf *cenalloc_buffer_create(struct cenalloc_device *dev,
- unsigned long len,
+struct dma_buf *cenalloc_buffer_create(unsigned long len,
unsigned long align,
unsigned long flags);