From: Lars-Peter Clausen Date: Fri, 17 Aug 2012 15:57:00 +0000 (+0100) Subject: iio:trigger_consumer.h: Add missing includes and forward declarations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=161e7f6d136549d6432218f9f42f88dd443a4719;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git iio:trigger_consumer.h: Add missing includes and forward declarations Add includes and forward declarations for types used in this file. This avoids compile errors if the other files have not been included before. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- diff --git a/include/linux/iio/trigger_consumer.h b/include/linux/iio/trigger_consumer.h index 762a3d3ee547..c4f8c7409666 100644 --- a/include/linux/iio/trigger_consumer.h +++ b/include/linux/iio/trigger_consumer.h @@ -10,6 +10,12 @@ #ifndef __LINUX_IIO_TRIGGER_CONSUMER_H__ #define __LINUX_IIO_TRIGGER_CONSUMER_H__ +#include +#include + +struct iio_dev; +struct iio_trigger; + /** * struct iio_poll_func - poll function pair *