IIO: fix build error in lp8788-charger.c
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 18:46:33 +0000 (10:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 18:46:33 +0000 (10:46 -0800)
commit9f488ba8633fe77910ea0ba80ec762d9c34af1b6
treeaf9137d9bbd1c56827d1675520da328a936daec7
parent045020e77684721e4a29e0225be99adc01cfa735
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 <sfr@canb.auug.org.au>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/iio/consumer.h