mfd: Fix compilation error in tps65910.h
authorVenu Byravarasu <vbyravarasu@nvidia.com>
Fri, 16 Mar 2012 07:28:37 +0000 (12:58 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 16 Mar 2012 20:02:09 +0000 (21:02 +0100)
commit095e7f780be59f3adb4d39ac3cb8d3665b3f2347
treee73219ebe3268e34a0db9dedf87304e9f2fe4f6c
parent1927ddf66805fca2af010c3e9d0b29216aed0fae
mfd: Fix compilation error in tps65910.h

'struct gpio_chip' is declared in include/asm-generic/gpio.h
which is included by include/linux/gpio.h.
However without including gpio.h, TPS65910.h declares
a member of this type as part of 'struct tps65910' declaration.

This causes compilation error, if gpio.h is not included
before including tps65910.h, in source files.

Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/linux/mfd/tps65910.h