gpu: ion: Add header file for ERR_PTR

Add err.h for the declaration of ERR_PTR which
is used with the stubbed out ion headers.

Change-Id: Ic5e5aea556723ea6b9c8953ef54ad5a82d3761ec
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
This commit is contained in:
Laura Abbott
2011-10-31 12:13:25 -07:00
committed by Stephen Boyd
parent c079ad9f94
commit 8d5660ca8b

View File

@@ -75,6 +75,7 @@ enum ion_heap_ids {
#define ION_IS_CACHED(__flags) ((__flags) & (1 << ION_CACHE_SHIFT))
#ifdef __KERNEL__
#include <linux/err.h>
#include <mach/ion.h>
struct ion_device;
struct ion_heap;