am d966eebf: Merge "Fix build."
* commit 'd966eebfcba313477a598ad7b3e573a123a7a9af': Fix build.
This commit is contained in:
commit
dd2ac3de62
2 changed files with 2 additions and 1 deletions
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
struct ion_handle;
|
||||||
|
|
||||||
int ion_open();
|
int ion_open();
|
||||||
int ion_close(int fd);
|
int ion_close(int fd);
|
||||||
int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask,
|
int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask,
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
#include <ion/ion.h>
|
#include <ion/ion.h>
|
||||||
#include <linux/ion.h>
|
#include <linux/ion.h>
|
||||||
#include <linux/omap_ion.h>
|
|
||||||
|
|
||||||
size_t len = 1024*1024, align = 0;
|
size_t len = 1024*1024, align = 0;
|
||||||
int prot = PROT_READ | PROT_WRITE;
|
int prot = PROT_READ | PROT_WRITE;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue