From: Greg Kroah-Hartman Date: Tue, 13 Nov 2012 18:46:33 +0000 (-0800) Subject: IIO: fix build error in lp8788-charger.c X-Git-Tag: firefly_0821_release~3680^2~1519^2~570 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9f488ba8633fe77910ea0ba80ec762d9c34af1b6;p=firefly-linux-kernel-4.4.55.git IIO: fix build error in lp8788-charger.c Turns out that consumer.h needs to include types.h on some platforms to build properly (like powerpc). Reported-by: Stephen Rothwell Cc: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/iio/consumer.h b/include/linux/iio/consumer.h index 126c0a9375f2..16c35ac045bd 100644 --- a/include/linux/iio/consumer.h +++ b/include/linux/iio/consumer.h @@ -9,6 +9,8 @@ */ #ifndef _IIO_INKERN_CONSUMER_H_ #define _IIO_INKERN_CONSUMER_H_ + +#include #include struct iio_dev;