Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f98e4bf7 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix build.

Change-Id: I6552bf9f83faa97bd5a844381aceb3ef85f86c76
parent a6fbc0f9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@

__BEGIN_DECLS

struct ion_handle;

int ion_open();
int ion_close(int fd);
int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask,
+0 −1
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@

#include <ion/ion.h>
#include <linux/ion.h>
#include <linux/omap_ion.h>

size_t len = 1024*1024, align = 0;
int prot = PROT_READ | PROT_WRITE;