From 973acfd39b15343eea079fe233c0d7f8e5b47dce Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Fri, 23 Sep 2011 10:40:19 -0700 Subject: [PATCH] Kbuild: Add ion header file Make sure the header file for Ion gets exported to userspace. Also make sure userspace can actually use the header. Change-Id: I44f436005a6a503811c85d4fb0f89264ba160571 Signed-off-by: Laura Abbott --- include/linux/Kbuild | 1 + include/linux/ion.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 10f82d832e9..4558bf3b2a1 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -204,6 +204,7 @@ header-y += unix_diag.h header-y += inotify.h header-y += input.h header-y += ioctl.h +header-y += ion.h header-y += ip.h header-y += ip6_tunnel.h header-y += ip_vs.h diff --git a/include/linux/ion.h b/include/linux/ion.h index f17d9cd05c1..977d7fdabfd 100644 --- a/include/linux/ion.h +++ b/include/linux/ion.h @@ -19,7 +19,6 @@ #include #include -#include struct ion_handle; /** @@ -73,6 +72,7 @@ enum ion_heap_ids { #define ION_IS_CACHED(__flags) ((__flags) & (1 << ION_CACHE_SHIFT)) #ifdef __KERNEL__ +#include struct ion_device; struct ion_heap; struct ion_mapper;