iio: Export userspace IIO headers
authorDaniel Baluta <daniel.baluta@intel.com>
Tue, 10 Feb 2015 16:33:51 +0000 (18:33 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 14 Feb 2015 17:05:03 +0000 (17:05 +0000)
commit293487c8ecc1103f4625cea5e90e1ba0cc89660f
tree2222fda327366ac5a52377f7e62a1ba14f334b9c
parente257a16e680a27ddc3dcbfc9fd39ad7f9d7ea135
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>
include/linux/iio/events.h
include/linux/iio/types.h
include/uapi/linux/Kbuild
include/uapi/linux/iio/Kbuild [new file with mode: 0644]
include/uapi/linux/iio/events.h [new file with mode: 0644]
include/uapi/linux/iio/types.h [new file with mode: 0644]