diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-01-03 14:59:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 10:05:06 -0800 |
commit | 0a769a95334a8819da046f13c2ef8d8b344fc199 (patch) | |
tree | 0a53c6ddc9e3d1191833522b743d2c528ed40e56 /drivers/staging/iio/Makefile | |
parent | 16a39b7a9ccd81458e7e1799c1b213d1d590630c (diff) | |
download | linux-0a769a95334a8819da046f13c2ef8d8b344fc199.tar.gz linux-0a769a95334a8819da046f13c2ef8d8b344fc199.tar.bz2 linux-0a769a95334a8819da046f13c2ef8d8b344fc199.zip |
staging:iio: Factor out event handling into its own file
The core iio file has gotten quite cluttered over time. This patch moves
the event handling code into its own file. Since the event handling code is
largely independent from the core code the only code changes necessary for
this are to make the moved iio_device_register_eventset,
iio_device_unregister_eventset and iio_event_getfd functions non static.
This has also the advantage that industrialio-core.c is now closer again to
its counterpart in the outofstaging branch.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/Makefile')
-rw-r--r-- | drivers/staging/iio/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/Makefile b/drivers/staging/iio/Makefile index 1340aead18b4..657710b266b0 100644 --- a/drivers/staging/iio/Makefile +++ b/drivers/staging/iio/Makefile @@ -3,7 +3,7 @@ # obj-$(CONFIG_IIO) += industrialio.o -industrialio-y := industrialio-core.o +industrialio-y := industrialio-core.o industrialio-event.o industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o |