summaryrefslogtreecommitdiff
path: root/include/uapi/linux/iio/Kbuild
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@intel.com>2015-02-10 19:33:51 +0300
committerJonathan Cameron <jic23@kernel.org>2015-02-14 20:05:03 +0300
commit293487c8ecc1103f4625cea5e90e1ba0cc89660f (patch)
tree2222fda327366ac5a52377f7e62a1ba14f334b9c /include/uapi/linux/iio/Kbuild
parente257a16e680a27ddc3dcbfc9fd39ad7f9d7ea135 (diff)
downloadlinux-293487c8ecc1103f4625cea5e90e1ba0cc89660f.tar.xz
iio: Export userspace IIO headers
After UAPI header file split [1] all user-kernel interfaces were placed under include/uapi/. This patch moves IIO user specific API from: * include/linux/iio/events.h => include/uapi/linux/iio/events.h * include/linux/types.h => include/uapi/linux/types.h Now there is no need for nasty tricks to compile userspace programs (e.g iio_event_monitor). Just installing the kernel headers with make headers_install command does the job. [1] http://lwn.net/Articles/507794/ Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/uapi/linux/iio/Kbuild')
-rw-r--r--include/uapi/linux/iio/Kbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/iio/Kbuild b/include/uapi/linux/iio/Kbuild
new file mode 100644
index 000000000000..86f76d84c44f
--- /dev/null
+++ b/include/uapi/linux/iio/Kbuild
@@ -0,0 +1,3 @@
+# UAPI Header export list
+header-y += events.h
+header-y += types.h